Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsIgnorableErr ¶
IsIgnorableErr returns true if the provided error is a EPIPE error.
func Unwrap ¶
Unwrap takes in an error, goes through the error cause chain, and returns the deepest error that has a stacktrace. This is needed because by default, every subsequent call to errors.Wrap overwrites the previous stacktrace. So in the end, we don't know where the error originated from. By going to the deepest one, we can find exactly where it started.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.