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 enum 
    The possible domains where the error can be produced

    Nested classes/interfaces inherited from interface android.os.Parcelable

    android.os.Parcelable.ClassLoaderCreator<T extends Object>, android.os.Parcelable.Creator<T extends Object>
  • Field Summary

    Fields inherited from interface android.os.Parcelable

    CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return the error code.
    The error domain
    android.os.Bundle
    Optional extras given more information about the error
    The detailed error message

    Methods inherited from interface android.os.Parcelable

    describeContents, writeToParcel
  • Method Details

    • getCode

      int getCode()
      Return the error code. The common errors are explained in CommonErrorConstant.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 String getMessage()
      The detailed error message
    • getExtras

      @NonNull android.os.Bundle getExtras()
      Optional extras given more information about the error