The only error type the engine throws (or rejects with). Branch on
code, not on the message: messages are for logs
and may change.
The message is prefixed with the code, e.g. [Anza:NOT_FOUND] Page not found.
Error messages never contain the request route, absolute file paths or key
material.
The only error type the engine throws (or rejects with). Branch on code, not on the message: messages are for logs and may change.
The message is prefixed with the code, e.g.
[Anza:NOT_FOUND] Page not found. Error messages never contain the request route, absolute file paths or key material.Example: Map engine errors to HTTP responses