errs

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package errs 对错误信息的二次处理

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge(origin, err error) error

Merge 合并多个错误实例

当两个值都不为 nil 时,会将 origin 作为其底层的错误类型,否则返回其中不为 nil 的值。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳