Ltix.Errors.Unknown.StorageError exception (Ltix v0.2.0)

Copy Markdown View Source

A storage adapter callback failed or returned an unexpected value.

The following fields of this exception are public and can be accessed freely.

  • :result (term/0) - the value the callback returned
  • :reason (String.t/0 or nil) - what is wrong with a result that looks successful, such as a deployment for a different deployment_id

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Ltix.Errors.Unknown.StorageError{
  __exception__: term(),
  bread_crumbs: term(),
  callback: term(),
  class: term(),
  path: term(),
  reason: term(),
  result: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Ltix.Errors.Unknown.StorageError without raising it.

Keys

  • :callback
  • :result
  • :reason