package
0.3.0
Repository: https://github.com/robinjoseph08/golib.git
Documentation: pkg.go.dev

# Functions

IsIgnorableErr returns true if the provided error is: - an EPIPE error - a connection reset (ECONNRESET) error - an http2 GOAWAY error - an http2 stream internal error - a DNS cancellation - a network timeout - an unexpected EOF - or a normal EOF IMPORTANT: When adding conditions to this function, make sure all of the checks are in the if and not in the return.
Unwrap takes in an error, goes through the error cause chain, and returns the deepest error that has a stacktrace.