Package 

Interface SinchError

  • All Implemented Interfaces:

    
    public interface SinchError
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract ErrorType getErrorType() Returns the error type which describes which part of the SDK caused the error.
      abstract String getMessage() Returns a human readable message of the error, if available.
      abstract Integer getCode() Returns the error code that should be used only for logging and troubleshooting purposes.
      abstract Map<String, String> getExtras() Returns a map containing any extra information about the error.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getErrorType

         abstract ErrorType getErrorType()

        Returns the error type which describes which part of the SDK caused the error.

      • getMessage

         abstract String getMessage()

        Returns a human readable message of the error, if available.

      • getCode

         abstract Integer getCode()

        Returns the error code that should be used only for logging and troubleshooting purposes.

      • getExtras

         abstract Map<String, String> getExtras()

        Returns a map containing any extra information about the error. Note: the Map returned may be empty.