Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorType ¶
type ErrorType string
ErrorType represents different categories of errors
const ( ErrorTypeAuthentication ErrorType = "authentication" ErrorTypeAuthorization ErrorType = "authorization" ErrorTypeRateLimit ErrorType = "rate_limit" ErrorTypeValidation ErrorType = "validation" ErrorTypeNotFound ErrorType = "not_found" ErrorTypeTimeout ErrorType = "timeout" ErrorTypeNetwork ErrorType = "network" ErrorTypeServer ErrorType = "server" ErrorTypeClient ErrorType = "client" ErrorTypeUnknown ErrorType = "unknown" )
type RetryableError ¶
RetryableError interface defines errors that can be retried
Click to show internal directories.
Click to hide internal directories.