package
Version:
v1.1.0-alpha
Opens a new window with list of versions in this module.
Published: Jul 26, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
func Cause(err error) interface{}
Cause 获取封装的异常源。
func WithCause(r interface{}) error
WithCause 封装一个异常源。
WithFileLine 返回错误发生的文件行号,skip 是相对于当前函数的深度。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.