errors

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 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 added in v0.13.1

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

func (BadRequest) Error

func (b BadRequest) Error() string

func (BadRequest) HTTPStatusCode added in v1.0.0

func (b BadRequest) HTTPStatusCode() int

type Internal

type Internal string

func NewInternal

func NewInternal(err string) Internal

func NewInternalf added in v0.13.1

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

func (Internal) Error

func (i Internal) Error() string

func (Internal) HTTPStatusCode added in v1.0.0

func (i Internal) HTTPStatusCode() int

Jump to

Keyboard shortcuts

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