# Functions
Cause is the cause of the error.
Errorf returns a new Error.
GetErrorStack return stack of messges (oldest on top) if n == -1 returns the whole stack.
GetErrorStackString returns the error stack as a string.
No description provided by the author
New returns a new error.
PrintErrorStack prints the error stack into out up to depth levels If n == 1 then prints the whole stack.
RootCause is the cause of the error.
Wrap returns a new error with err as cause, if err is nil will return nil.
Wrapf returns a new error with err as cause, if err is nil will return nil.
# Variables
ShowLineInfo sets if we collect location information (file, line) (getting location information makes creating error slower ~550ns vs 2ns).