errors

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRateLimited = NewRateLimitedError()
View Source
var ErrStatus = NewStatusError(0)

Functions

This section is empty.

Types

type RateLimitedError

type RateLimitedError struct{}

RateLimitedError is a struct that contains the status.

func NewRateLimitedError

func NewRateLimitedError() *RateLimitedError

NewRateLimitedError is a function that returns a new RateLimitedError.

func (RateLimitedError) Error

func (e RateLimitedError) Error() string

Error is a function that returns the status.

type StatusError

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

StatusError is a struct that contains the status.

func NewStatusError

func NewStatusError(status int) *StatusError

NewStatusError is a function that returns a new StatusError.

func (StatusError) Error

func (e StatusError) Error() string

Error is a function that returns the status.

Jump to

Keyboard shortcuts

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