View Source Rewrite.SourceError exception (rewrite v1.1.1)

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

Summary

Types

@type action() :: :rm
@type path() :: nil | Path.t()
@type reason() :: :nopath | :changed | File.posix()
@type t() :: %Rewrite.SourceError{
  __exception__: true,
  action: action(),
  path: path(),
  reason: reason()
}

Functions