Simform interview question

How to make a global error class for Retrofit errors?

Interview Answers

Anonymous

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.

Anonymous

27 Jul 2020

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