# `Ltix.Errors.Unknown.StorageError`
[🔗](https://github.com/DecoyLex/ltix/blob/main/lib/ltix/errors/unknown/storage_error.ex#L1)

A storage adapter callback failed or returned an unexpected value.

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

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

# `exception`

```elixir
@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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
