e

package
v0.4.15 Latest Latest
Warning

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

Go to latest
Published: May 10, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TypeErr

func TypeErr(expected, actual interface{}) error

TypeErr returns an error with a string that explains what error was expected and what was received.

Types

type HandlerError

type HandlerError struct {
	Err   error
	Stack []byte
}

HandlerError adds a stack trace to an error

func New

func New(err error) HandlerError

New returns a new HandlerError

func (HandlerError) Error

func (err HandlerError) Error() string

Error makes HandlerError implement error

Jump to

Keyboard shortcuts

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