# `JoobQ.NonRetryable`
[🔗](https://github.com/azutoolkit/joobqui/tree/master/sdks/elixir/blob/main/lib/joobq/non_retryable.ex#L2)

A failure that sends the job to the dead letter queue at once, its retries unused: raise it in
`c:JoobQ.Worker.perform/1` (`raise JoobQ.NonRetryable, "the account is closed"`) or return
`{:error, JoobQ.NonRetryable.exception("the account is closed")}`.

---

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