Pregunta de entrevista de Simform

How to make a global error class for Retrofit errors?

Respuestas de entrevistas

Anónimo

3 jun 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 jul 2020

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