View Source Rewrite.Error exception (rewrite v0.9.0)

An exception for when a function can not handle a source.

Summary

Types

@type reason() :: :nosource | :nopath | :overwrites | :invalid_sources
@type t() :: %Rewrite.Error{
  __exception__: true,
  duplicated_paths: [Rewrite.Source.t()] | nil,
  missing_paths: [Rewrite.Source.t()] | nil,
  path: Path.t() | nil,
  reason: reason()
}