Class ApiErrorWithParameter

java.lang.Object
com.ringcentral.definitions.ApiErrorWithParameter

public class ApiErrorWithParameter extends Object
Generalized API error structure suitable for any error type
  • Field Details

    • errorCode

      public String errorCode
      Logical error code (typically, 3 letters followed with number, dash separated) Required Example: XXX-123
    • message

      public String message
      User-friendly error message Required Example: Something went wrong
    • parameterName

      public String parameterName
      The name of the API parameter/attribute which caused the error
    • parameterValue

      public String parameterValue
      The value of the API parameter/attribute which caused the error
  • Constructor Details

    • ApiErrorWithParameter

      public ApiErrorWithParameter()
  • Method Details