Error schema

We use standard HTTP response codes for success and failure notifications, and our errors are further classified by error_type. In general, 200 HTTP codes correspond to success, 40X codes are for developer- or user-related failures, and 50X codes are for Deck-related issues.

error_category

A broad categorization of the error. Safe for programmatic use.
string
error_code

The particular message code. Safe for programmatic use.
string
error_message

A developer-friendly representation of the error code. This may change over time and is not safe for programmatic use.
string
display_message

A user-friendly representation of the error code. null if the error is not related to user action.
This may change over time and is not safe for programmatic use.
string