Errors
Exceptions are raised on error responses. Each service defines its own exception types, all descending from a common base. For example:
try
SQS.SendMessage(QueueUrl, 'Hello');
except
on E: ESQSNonExistentQueue do
Writeln('Queue not found');
on E: ESQSException do
Writeln('SQS error: ', E.Message);
end;
Some errors are automatically retried with exponential back-off. By default the SDK will retry up to 3 times before raising the exception. See Automatic Retries for configuration options.
Next steps
- Browse the sample projects for working examples
- Learn about Configuration options
- Explore the API Reference for full details on each service