# `Tursox.Procedures.Error`
[🔗](https://github.com/mindreframer/tursox_procedures/blob/v0.1.0/lib/tursox/procedures/error.ex#L1)

Stable, redacted error returned by procedure operations.

# `code`

```elixir
@type code() ::
  :not_found
  | :disabled
  | :invalid_argument
  | :compile_error
  | :runtime_error
  | :authorization
  | :database
  | :resource_limit
  | :timeout
  | :call_cycle
  | :call_depth
  | :transaction_failed
  | :internal
```

# `t`

```elixir
@type t() :: %Tursox.Procedures.Error{
  __exception__: term(),
  code: code(),
  line: pos_integer() | nil,
  message: String.t(),
  metadata: map(),
  operation: atom(),
  procedure: String.t() | nil,
  procedure_stack: [map()],
  version: pos_integer() | nil
}
```

---

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