Purpose
Why Error Codes Exist
Error codes ensure that LogicBasis behaves predictably and transparently. Every error is deterministic, reproducible and tied to a clear cause. No randomness, no hidden states, no ambiguous messages.
400
Invalid Input
The request is malformed or missing required fields. The system does not guess or auto‑correct — it stops cleanly and reports the issue.
401
Unauthorized
The request requires authentication. No access is granted without a valid identity — no exceptions, no fallback behavior.
403
Forbidden
The identity is valid, but the action is not allowed. LogicBasis enforces strict boundaries and does not escalate privileges automatically.
500
Internal Error
A system‑side issue occurred. The engine does not hide internal errors behind generic messages — it reports them clearly and consistently.
Not
What Error Codes Are Not
Error codes are not conversational hints, not suggestions and not recovery guides. They describe the exact state — nothing more, nothing less.