webapiError

package
v0.0.0-...-cee649a Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeBadRequest          = 400
	TypeDatabaseError       = 404
	TypeNotFound            = 404
	TypeAuthorityError      = 403
	TypeServerInternalError = 500
	TypeNotYetImplemented   = 500
)

Variables

This section is empty.

Functions

func WaErr

func WaErr(et int, ei string, m string) errStruct

Types

type Err

type Err interface {
	Error() string
	Type() int
	Msg() string
}

Jump to

Keyboard shortcuts

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