errors

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 License: AGPL-3.0 Imports: 2 Imported by: 13

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) Code

func (b BadRequest) Code() int

func (BadRequest) Error

func (b BadRequest) Error() string

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) Code

func (i Internal) Code() int

func (Internal) Error

func (i Internal) Error() string

Jump to

Keyboard shortcuts

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