Hello guys, I was just looking on this post [1] an...
# android
j
Hello guys, I was just looking on this post [1] and I'm interested on this one, but I do not know what is
FailureBo
could someone give me an example of what should be? I do not know if it should extend of
Failure
or
Throwable
Thank you guys. [1] : https://proandroiddev.com/how-to-return-an-either-error-data-with-a-centralised-error-handler-on-android-72efdaf88cca
i
It’s a Business Object, I think. Usually it’s classes extended from Throwable or Error, or you can use just some custom classes. It depends on your own use cases and how you want to handle it.