Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A rant about error handling

A rant about error handling

Most APIs are usable when everything works, yet it's when something goes wrong that an API's true colours show through. In this talk, I will discuss what I consider to be the minimum viable error response for a competent API, through the lens of a real-world example of possibly the worst I have ever seen…

Rob Allen

July 15, 2016
Tweet

More Decks by Rob Allen

Other Decks in Technology

Transcript

  1. Status Code 1xx,2xx,3xx - NOT an error 4xx - Client

    error 5xx - Server error Rob Allen ~ @akrabat