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

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

Summary

Types

action()

@type action() :: :rm

path()

@type path() :: nil | Path.t()

reason()

@type reason() :: :nopath | :changed | File.posix()

t()

@type t() :: %Rewrite.SourceError{
  __exception__: true,
  action: action(),
  path: path(),
  reason: reason()
}

Functions

format(action)