Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnwrapToRoot ¶
UnwrapToRoot recursively unwrap the error chain, util the error is not a WrapError, and return this error.
func UnwrapUtil ¶
UnwrapUtil unwrap the error chain, util the error meet the predicate func, and then return the error. If not found meet err, return nil
Types ¶
Click to show internal directories.
Click to hide internal directories.