nazaerrors

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2021 License: MIT Imports: 4 Imported by: 41

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func As added in v0.17.0

func As(err error, target interface{}) bool

func CombineErrors

func CombineErrors(errs ...error) error

将多个error合并为一个 当前的策略是取第一个不为nil的error返回

func Is added in v0.17.0

func Is(err, target error) bool

func Unwrap added in v0.17.0

func Unwrap(err error) error

func Wrap added in v0.17.0

func Wrap(err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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