Skip to content

Instantly share code, notes, and snippets.

Last active Dec 11, 2015
What would you like to do?
An example of a good error message coming from an HTTP API (illustrative for
HTTP/1.1 402 Payment Required
Content-Type: application/json
"title": "End of trial",
"description": "Unfortunately, your trial period has ended. To continue using the application, you need to purchase a subscription.",
"explanation_url": "",
"trace_url": ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment