errors

package
v2.3.55 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorType

type ErrorType struct {
	Err    string
	Status int
}

func ErrBadRequest

func ErrBadRequest() *ErrorType

func ErrUnauthorized

func ErrUnauthorized() *ErrorType

func (*ErrorType) Code

func (e *ErrorType) Code() int

func (*ErrorType) Error

func (e *ErrorType) Error() string

func (*ErrorType) WithMessage

func (e *ErrorType) WithMessage(msg string) *ErrorType

Jump to

Keyboard shortcuts

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