View Source Rewrite.SourceError exception (rewrite v0.10.5)

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