View Source Mobius.Bundle.SaveError exception (mobius v0.3.7)

Exception implementation for when there is an error saving the bundle

Link to this section Summary

Types

t()

Save error

Link to this section Types

Specs

t() :: %Mobius.Bundle.SaveError{__exception__: term(), message: binary()}

Save error

  • :message - the message that is used for the exception
iex> save_error = SaveError.exception("Bad things happened")
iex> Exception.message(save_error)
"Error saving bundle: Bad things happened"