Package es.situm.sdk.error
Interface Error
-
- All Superinterfaces:
android.os.Parcelable
public interface Error extends android.os.Parcelable
Error object with information
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Error.Domain
The possible domains where the error can be produced
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCode()
Return the error code.Error.Domain
getDomain()
The error domainandroid.os.Bundle
getExtras()
Optional extras given more information about the errorjava.lang.String
getMessage()
The detailed error message
-
-
-
Method Detail
-
getCode
int getCode()
Return the error code. The common errors are explained inCommonErrorConstant.Code
. Every manager has its own error codes. See the Javadoc of each manager for more info
-
getDomain
@NonNull Error.Domain getDomain()
The error domain
-
getMessage
@NonNull java.lang.String getMessage()
The detailed error message
-
getExtras
@NonNull android.os.Bundle getExtras()
Optional extras given more information about the error
-
-