Class CommonErrorSpec
java.lang.Object
com.pingidentity.sdk.api.authn.common.CommonErrorSpec
This class contains a set of common
AuthnErrorSpec specs
for use across API-capable PingFederate plugins.- Since:
- 9.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AuthnErrorSpecThe top-level error returned when the API request is not valid for the current state of the flow.static final AuthnErrorSpecThe top-level error returned when the request is invalid.static final AuthnErrorSpecThe top-level error returned when registration fails.static final AuthnErrorSpecThe top-level error returned when the request could not be completed.static final AuthnErrorSpecThe top-level error returned when the API request is for a resource that does not exist.static final AuthnErrorSpecThe top-level error returned when an unexpected error occurs.static final AuthnErrorSpecThe top-level error returned when one or more validation errors occurred while processing the request. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RESOURCE_NOT_FOUND
The top-level error returned when the API request is for a resource that does not exist.- Since:
- 9.3
-
INVALID_REQUEST
The top-level error returned when the request is invalid. An example would be incorrectly formatted JSON. The message can be customized by calling the instance builder'smessage()method.- Since:
- 9.3
-
VALIDATION_ERROR
The top-level error returned when one or more validation errors occurred while processing the request. Additional details are provided by calling the instance builder'sdetail()method.- Since:
- 9.3
-
UNEXPECTED_ERROR
The top-level error returned when an unexpected error occurs.- Since:
- 9.3
-
INVALID_ACTION_ID
The top-level error returned when the API request is not valid for the current state of the flow. The message can be customized by calling the instance builder'smessage()method.- Since:
- 9.3
-
REGISTRATION_FAILED
The top-level error returned when registration fails. This error is used when an unexpected server side error is encountered when registering the user. For example, communication to the data store failed while registering the user.- Since:
- 10.1
-
REQUEST_FAILED
The top-level error returned when the request could not be completed. Additional details are provided by calling the instance builder’sdetail()method.- Since:
- 10.1
-
-
Constructor Details
-
CommonErrorSpec
public CommonErrorSpec()
-