# `ExBurn.Error`
[🔗](https://github.com/ohhi-vn/ex_burn/blob/main/lib/ex_burn/error.ex#L1)

Structured error type for ExBurn operations.

## Fields

  * `:op` — the operation that failed (e.g., `:add`, `:matmul`, `:conv`)
  * `:reason` — a human-readable error message
  * `:details` — optional map with additional context (shapes, types, etc.)

## Examples

    raise ExBurn.Error, op: :matmul, reason: "shape mismatch",
      details:: %{lhs: [3, 4], rhs: [5, 6]}

# `t`

```elixir
@type t() :: %ExBurn.Error{
  __exception__: true,
  details: map() | nil,
  op: atom(),
  reason: String.t()
}
```

---

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