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 ClassesModifier and TypeInterfaceDescriptionstatic enumThe possible domains where the error can be produced -
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()Return the error code.The error domainandroid.os.BundleOptional extras given more information about the errorThe detailed error messageMethods inherited from interface android.os.Parcelable
describeContents, writeToParcel
-
Method Details
-
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
The error domain -
getMessage
The detailed error message -
getExtras
@NonNull android.os.Bundle getExtras()Optional extras given more information about the error
-