O'Reilly logo

Mobile DevOps by Jhalak Modi, Rohin Tak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Developer's role in handling API unavailability

It is also a good idea for an application developer to keep in mind that APIs might not be available some of the time, and write code in a way that handles these kinds of situations gracefully. Even when the application is not able to perform some API operations, if it informs the user in a nice way, it can help the user experience much more than facing runtime exceptions. Write code to handle API exceptions and scenarios where the API does not respond.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required