errors

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAccessDenied = errors.New("access denied")
View Source
var ErrUnauthorizedRequest = errors.New("unauthorized request")
View Source
var ErrWrongCredentials = errors.New("wrong credentials")

Functions

This section is empty.

Types

type ErrBadRequest

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

func NewBadRequest

func NewBadRequest(err error) ErrBadRequest

func NewBadRequestWithMessage

func NewBadRequestWithMessage(msg string) ErrBadRequest

func (ErrBadRequest) Error

func (e ErrBadRequest) Error() string

type ErrObjectNotFound

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

func NewObjectNotFound

func NewObjectNotFound(err error) ErrObjectNotFound

func NewObjectNotFoundWithMessage

func NewObjectNotFoundWithMessage(msg string) ErrObjectNotFound

func (ErrObjectNotFound) Error

func (e ErrObjectNotFound) Error() string

Jump to

Keyboard shortcuts

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