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
      • Nested classes/interfaces inherited from interface android.os.Parcelable

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

      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getCode()
      Return the error code.
      Error.Domain getDomain()
      The error domain
      android.os.Bundle getExtras()
      Optional extras given more information about the error
      java.lang.String getMessage()
      The detailed error message
      • Methods inherited from interface android.os.Parcelable

        describeContents, writeToParcel
    • Method Detail

      • 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
        java.lang.String getMessage()
        The detailed error message
      • getExtras

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