errors

package
v1.0.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2025 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(base Error, message string) error

Types

type Error

type Error error
var (
	ErrBadRequest         Error = errors.New("bad_request")
	ErrUnauthorized       Error = errors.New("unauthorized")
	ErrForbidden          Error = errors.New("forbidden")
	ErrServiceUnavailable Error = errors.New("service_unavailable")
	ErrNotFound           Error = errors.New("not_found")
)

Jump to

Keyboard shortcuts

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