nazaerrors

package
v0.17.1-0...-36a5d2c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func As

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

func CombineErrors

func CombineErrors(errs ...error) error

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

func Is

func Is(err, target error) bool

func Unwrap

func Unwrap(err error) error

func Wrap

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