errgo

package
v0.30.14 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: AGPL-3.0, AGPL-3.0-only Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNetworkError added in v0.28.3

func IsNetworkError(err error) bool

func Msg

func Msg(err error, msg string) error

Msg replace error message.

func MsgNoTrace added in v0.23.6

func MsgNoTrace(err error, msg string) error

MsgNoTrace replace error message without adding trace. this is used to create global errors, which also avoid add trace.

func Wrap

func Wrap(err error, msg string) error

Wrap add context to error message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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