Learn how to get started with the Image Processing SDK
IMGProcessingClient
, the ImageObject
, and the APIError
classes.
Soon we will talk more about each of these elements, but first, let’s see how to install the SDK in your project.
APIError
will be thrown:
Status Code | Error Type |
---|---|
400 | BadRequestError |
401 | AuthenticationError |
403 | PermissionDeniedError |
404 | NotFoundError |
422 | UnprocessableEntityError |
429 | RateLimitError |
>=500 | InternalServerError |
N/A | APIConnectionError |
maxRetries
option to configure or disable this:
timeout
option:
APIConnectionTimeoutError
is thrown.
Note that requests which time out will be retried twice by default.