Error

This class provides methods for getting error codes and error information.

public class Error {
  public Constants.ErrorCode code();
  public String message();
}
            
Since
v4.5.0

Method

code
Gets the error code returned in the method call. See ErrorCode.
message
Gets the detailed error information returned in the method call.