Documentation ¶
Index ¶
Constants ¶
View Source
const ( TtlExpiration string = "ttl" CostLimitExpiration string = "cost-limit" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthError ¶ added in v1.7.0
type AuthError struct {
// contains filtered or unexported fields
}
func NewAuthError ¶ added in v1.7.0
func (*AuthError) Authenticated ¶ added in v1.7.0
func (ae *AuthError) Authenticated()
type BlockedError ¶ added in v1.13.0
type BlockedError struct {
// contains filtered or unexported fields
}
func NewBlockedError ¶ added in v1.13.0
func NewBlockedError(msg string) *BlockedError
func (*BlockedError) Blocked ¶ added in v1.13.0
func (be *BlockedError) Blocked()
func (*BlockedError) Error ¶ added in v1.13.0
func (be *BlockedError) Error() string
type CostLimitError ¶ added in v1.9.0
type CostLimitError struct {
// contains filtered or unexported fields
}
func NewCostLimitError ¶ added in v1.9.0
func NewCostLimitError(msg string) *CostLimitError
func (*CostLimitError) CostLimit ¶ added in v1.9.0
func (rle *CostLimitError) CostLimit()
func (*CostLimitError) Error ¶ added in v1.9.0
func (cle *CostLimitError) Error() string
type ExpirationError ¶
type ExpirationError struct {
// contains filtered or unexported fields
}
func NewExpirationError ¶
func NewExpirationError(msg string, reason string) *ExpirationError
func (*ExpirationError) Error ¶
func (ee *ExpirationError) Error() string
func (*ExpirationError) Reason ¶
func (ee *ExpirationError) Reason() string
type NotFoundError ¶ added in v0.0.7
type NotFoundError struct {
// contains filtered or unexported fields
}
func NewNotFoundError ¶ added in v0.0.7
func NewNotFoundError(msg string) *NotFoundError
func (*NotFoundError) Error ¶ added in v0.0.7
func (nfe *NotFoundError) Error() string
func (*NotFoundError) NotFound ¶ added in v0.0.7
func (nfe *NotFoundError) NotFound()
type RateLimitError ¶
type RateLimitError struct {
// contains filtered or unexported fields
}
func NewRateLimitError ¶
func NewRateLimitError(msg string) *RateLimitError
func (*RateLimitError) Error ¶
func (rle *RateLimitError) Error() string
func (*RateLimitError) RateLimit ¶
func (rle *RateLimitError) RateLimit()
type ValidationError ¶
type ValidationError struct {
// contains filtered or unexported fields
}
func NewValidationError ¶
func NewValidationError(msg string) *ValidationError
func (*ValidationError) Error ¶
func (ve *ValidationError) Error() string
func (*ValidationError) Validation ¶
func (ve *ValidationError) Validation()
type WarningError ¶ added in v1.13.0
type WarningError struct {
// contains filtered or unexported fields
}
func NewWarningError ¶ added in v1.13.0
func NewWarningError(msg string) *WarningError
func (*WarningError) Error ¶ added in v1.13.0
func (we *WarningError) Error() string
func (*WarningError) Warnings ¶ added in v1.13.0
func (we *WarningError) Warnings()
Click to show internal directories.
Click to hide internal directories.