Pergunta de entrevista da empresa Simform

How to make a global error class for Retrofit errors?

Respostas da entrevista

Sigiloso

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.

Sigiloso

27 de jul. de 2020

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