Overview
Structured error classes are provided to help you handle failures gracefully. Proper error handling ensures robust applications and better user experience.AuthenticationError
AuthenticationError
This error occurs when your API key is invalid, missing, or revoked.Example:
RateLimitError
RateLimitError
Thrown when you exceed the allowed number of requests per time period.Example:
NetworkError
NetworkError
Occurs when network connectivity issues prevent a request from completing.Example:
SectonError (Generic)
SectonError (Generic)
Catches any other SDK-related errors that do not fall under the specific categories.Example: