zerror

package
v0.38.9 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZMultiError

type ZMultiError struct {
	// Causes 保存多个原始错误
	Causes []error
}

ZMultiError 多个错误

func NewMultiError

func NewMultiError() *ZMultiError

func (*ZMultiError) Add

func (e *ZMultiError) Add(errs ...error)

Add 新增错误

func (*ZMultiError) Error

func (e *ZMultiError) Error() string

String 输出错误信息

Jump to

Keyboard shortcuts

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