ProAndroidDev

The latest posts from Android Professionals and Google Developer Experts.

Follow publication

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

The latest posts from Android Professionals and Google Developer Experts.

Android Dev @ Blinkist. Lead @GDG Bari. Pursuing Master in Computer Engineering at PoliBa. Big #OpenSource supporter and #Kotlin fan.

Responses (18)

Write a response

How you can handle api errors?

--

how do you get failure exception from Coroutine adapter ?

--

For those of you wondering how to handle errors, you can do so in a try catch around your retrofit suspend calls. If you’re looking for a specific error code/message you can check/smart cast it to a retrofit HttpException. this is how i did it
try {…

--