e

package
v0.0.0-...-7fe9760 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 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返回一个错误,其字符串解释了预期的错误和收到的错误。

Types

type HandlerError

type HandlerError struct {
	Err   error
	Stack []byte
}

handlerError向错误添加堆栈跟踪

func New

func New(err error) HandlerError

new返回新的handlerError

func (HandlerError) Error

func (err HandlerError) Error() string

错误使handlerError实现错误

Jump to

Keyboard shortcuts

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