errors

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 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 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()

Jump to

Keyboard shortcuts

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