Skuld.Comp.ThrowError exception (skuld v0.2.3)
View SourceException 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}