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

Exception implementation for when there is an error extracting a bundle

Link to this section Summary

Types

t()

Extract error

Link to this section Types

Specs

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

Extract error

  • :message - the message that is used for the exception
iex> extract_error = ExtractError.exception({"file open", "Oh no!"})
iex> Exception.message(extract_error)
"Error extracting the bundle during file open because Oh no!"