httperr

package
v0.0.0-...-04a9bb9 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpErr

type HttpErr interface {
	StatusCode() int
	Description() string
}

func New

func New(status int, description string) HttpErr

New returns an error that formats as the given text.

Jump to

Keyboard shortcuts

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