e

package
v0.5.1-rc0.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0, MIT, Apache-2.0, + 1 more 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