Glossary

Error code

An error code is the stable, machine-readable string in the error envelope (error.code) that you branch on — distinct from the human message, which may change.

2 min read

Definition

An error code is the part of the error envelope designed for code to read. Unlike the HTTP status (broad class) and the message (human, may be reworded), the code is a stable contract: consent_required always means the same thing. Branch on it, look unfamiliar ones up in the catalogue, and map each to your own user-facing copy.

Frequently asked questions

Code or status — which do I branch on?

Status for retry-or-not; code for the specific behaviour. Both, in that order.

Funding for UK limited companies

Credicorp lends to your company, not to you personally — short-term working capital with no personal guarantee. See what your business could access.