Interface SinchError


  • public interface SinchError
    • Method Summary

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

      • getErrorType

        ErrorType getErrorType()
        Returns the error type which describes which part of the SDK caused the error.
        Returns:
        The ErrorType.
      • getMessage

        java.lang.String getMessage()
        Returns a human readable message of the error, if available.
        Returns:
        The error message string.
      • getCode

        int getCode()
        Returns the error code that should be used only for logging and troubleshooting purposes.
        Returns:
        The error code.
      • getExtras

        java.util.Map<java.lang.String,​java.lang.String> getExtras()
        Returns a map containing any extra information about the error. Note: the Map returned may be empty.
        Returns:
        Map containing extra information about the error.