errors

package
v1.2.0-arch32 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadRequest

type BadRequest string

func NewBadRequest

func NewBadRequest(err string) BadRequest

func NewBadRequestf

func NewBadRequestf(format string, a ...interface{}) BadRequest

func (BadRequest) Error

func (b BadRequest) Error() string

func (BadRequest) HTTPStatusCode

func (b BadRequest) HTTPStatusCode() int

type Internal

type Internal string

func NewInternal

func NewInternal(err string) Internal

func NewInternalf

func NewInternalf(format string, a ...interface{}) Internal

func (Internal) Error

func (i Internal) Error() string

func (Internal) HTTPStatusCode

func (i Internal) HTTPStatusCode() int

Jump to

Keyboard shortcuts

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