errors

package
v1.23.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: MIT Imports: 0 Imported by: 0

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 NewAuthError(msg string) *AuthError

func (*AuthError) Authenticated added in v1.7.0

func (ae *AuthError) Authenticated()

func (*AuthError) Error added in v1.7.0

func (ae *AuthError) Error() string

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 RedactError added in v1.22.0

type RedactError struct {
	// contains filtered or unexported fields
}

func NewRedactError added in v1.22.0

func NewRedactError(msg string) *RedactError

func (*RedactError) Error added in v1.22.0

func (we *RedactError) Error() string

func (*RedactError) Redacted added in v1.22.0

func (we *RedactError) Redacted()

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL