httperr

package
v0.0.0-...-4caa87e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2016 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ErrorHandlerSkipLines = 7

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

func Errorf

func Errorf(code int, format string, args ...interface{}) *Error

func New

func New(code int, err error) *Error

func Server

func Server(err error) *Error

func (*Error) Code

func (e *Error) Code() int

func (*Error) Error

func (e *Error) Error() string

func (*Error) Save

func (e *Error) Save() error

func (*Error) Server

func (e *Error) Server() bool

func (*Error) Trace

func (e *Error) Trace() []string

func (*Error) User

func (e *Error) User() bool

Jump to

Keyboard shortcuts

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