Package com.ringcentral.definitions
Class ApiErrorWithParameter
java.lang.Object
com.ringcentral.definitions.ApiErrorWithParameter
Generalized API error structure suitable for any error type
-
Field Summary
FieldsModifier and TypeFieldDescriptionLogical error code (typically, 3 letters followed with number, dash separated) Required Example: XXX-123User-friendly error message Required Example: Something went wrongThe name of the API parameter/attribute which caused the errorThe value of the API parameter/attribute which caused the error -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparameterName
(String parameterName) parameterValue
(String parameterValue)
-
Field Details
-
errorCode
Logical error code (typically, 3 letters followed with number, dash separated) Required Example: XXX-123 -
message
User-friendly error message Required Example: Something went wrong -
parameterName
The name of the API parameter/attribute which caused the error -
parameterValue
The value of the API parameter/attribute which caused the error
-
-
Constructor Details
-
ApiErrorWithParameter
public ApiErrorWithParameter()
-
-
Method Details
-
errorCode
-
message
-
parameterName
-
parameterValue
-