Pregunta de entrevista de Simform

How to make a global error class for Retrofit errors?

Respuestas de entrevistas

Anónimo

3 de jun de 2020

I answered we can make a generic class for errors which can be used throughout the app. They wanted a specific name. They then answered that we can use GlobalErrorScope for it. It doesn't make sense. You can name it anything internally.

Anónimo

27 de jul de 2020

Create Kotlin Sealed class that can be used as enum for handling different status