BeamPatch.Error (beam_patch v0.2.0)

View Source

Errors that can be raised by BeamPatch.

Summary

Types

t()

The type of errors that can be returned by BeamPatch.

Functions

t()

Defines all errors that can be raised by BeamPatch. Can be used to distinguish them in the raise block.

Types

t()

The type of errors that can be returned by BeamPatch.

Functions

t()

(macro)

Defines all errors that can be raised by BeamPatch. Can be used to distinguish them in the raise block.

Examples

try do
  BeamPatch.patch_quoted!(String, do: nil)
rescue
  e in BeamPatch.Error.t() -> e
end