Skip to Content
Phoenix Web Development
book

Phoenix Web Development

by Brandon Richey
April 2018
Beginner to intermediate content levelBeginner to intermediate
406 pages
9h 33m
English
Packt Publishing
Content preview from Phoenix Web Development

Dealing with Error Handling in APIs

A good API that does everything right but completely ignores how to handle errors in a sane, graceful way is many things, but not actually a good API! You need to treat dealing with errors, exceptions, and issues in a way that makes it easier for your end users and consumers to be able to appropriately deal with the error and resolve things in meaningful ways. For us to do that, we'll again need to take a quick sidebar and implement another route, since that will make building up our API error handling a lot simpler in the long run.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Phoenix in Action

Phoenix in Action

Geoffrey Lessel
Real-Time Phoenix

Real-Time Phoenix

Stephen Bussey

Publisher Resources

ISBN: 9781787284197Supplemental Content