View Source Rewrite.Error exception (rewrite v1.0.1)
An exception for when a function cannot handle a source.
Summary
Types
@type reason() :: :nosource | :nopath | :overwrites | :invalid_sources
@type t() :: %Rewrite.Error{ __exception__: true, duplicated_paths: [Rewrite.Source.t()] | nil, message: String.t() | nil, missing_paths: [Rewrite.Source.t()] | nil, path: Path.t() | nil, reason: reason() }