# `Schooner.Primitive.Error`
[🔗](https://github.com/ausimian/schooner/blob/1.0.0/lib/schooner/primitive/error.ex#L1)

Exception raised by built-in primitives for domain-specific failures —
type errors, division by zero, and the "would require complex /
irrational" cases that Schooner does not implement.

Kept distinct from `Schooner.Eval.Error` because primitives report a
different vocabulary of failures than the evaluator. Tests can pattern
on `:reason` to pin behaviour without coupling to wording.

---

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