# `Skuld.Comp.ThrowError`
[🔗](https://github.com/mccraigmccraig/skuld/blob/main/lib/skuld/comp/throw_error.ex#L4)

Exception raised when a Skuld computation throws via `Throw.throw/1`
and the error is not caught.

This is distinct from Elixir's native exceptions - it represents an
intentional error thrown using Skuld's effect system.

## Example

    comp do
      _ <- Throw.throw(:not_found)
      :ok
    end
    |> Throw.with_handler()
    |> Comp.run!()
    # => raises %ThrowError{error: :not_found}

---

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