Documentation ¶
Overview ¶
status.go This package provides utility functions and structures for handling and categorizing HTTP error responses.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNonRetryableStatusCode ¶
IsNonRetryableStatusCode checks if the provided response indicates a non-retryable error.
func IsRateLimitError ¶
IsRateLimitError checks if the provided response indicates a rate limit error.
func IsRetryableStatusCode ¶
IsRetryableStatusCode checks if the provided HTTP status code is considered retryable.
func IsTransientError ¶
IsTransientError checks if an error or HTTP response indicates a transient error.
func TranslateStatusCode ¶
TranslateStatusCode provides a human-readable message for HTTP status codes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.