e

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 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