erro

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

erro

erro is an error wrapper to wrap the error stack

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewError

func NewError(info interface{}) error

NewError new stack error

Types

type Error

type Error struct {
	Info      interface{} `json:"info"`
	StackInfo string      `json:"stack_info"`
}

func (*Error) Error added in v0.0.4

func (err *Error) Error() string

func (*Error) String

func (err *Error) String() string

string err

Jump to

Keyboard shortcuts

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