| Enum | Description |
|---|---|
| ClientErrorCode |
To aid in troubleshooting problems, these standardised error codes are included in
BrightpearlHttpExceptions
whenever possible. |
| Exception | Description |
|---|---|
| BrightpearlAuthException |
Thrown within
BrightpearlApiClient when a 401 response is received from the
Brightpearl API. |
| BrightpearlClientException |
This is the superclass for exceptions thrown by this client library.
|
| BrightpearlHttpException |
Subclass of
BrightpearlClientException thrown when a request fails due to an HTTP transport error, and when a
response is received but cannot be parsed into the type expected. |
| BrightpearlRequestCapException |
This exception is thrown when a request cap error is detected, caused by too many requests being made to a single
account.
|
| BrightpearlServiceException |
This exception is thrown by the simple get, search and execute APIs in
BrightpearlApiClient
when the Brightpearl API returns a collection of error messages in the JSON response body. |
| BrightpearlUnavailableException |
This exception is thrown when a 503 is received from Brightpearl but the message does not indicate the request cap
has been reached.
|
Copyright © 2014. All Rights Reserved.