errs

package
v0.78.1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package errs 与错误相关的定义

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDepthStackError added in v0.66.1

func NewDepthStackError(depth int, err error) error

func NewStackError added in v0.66.0

func NewStackError(err error) error

NewStackError 为 err 带上调用信息

位置从调用 NewStackError 开始。 如果 err 为 nil,则返回 nil。 多次调用 NewStackError 包装,则返回第一次包装的返回值。

如果需要输出调用堆栈信息,需要指定 %+v 标记。

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 🇻🇳