Documentation ¶
Overview ¶
Package errcat implements some basic err concatenation and labeling functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendErr ¶
AppendErr appends an error (err) to another error (e) and returns a new error (e + err)
func AppendErrStr ¶
AppendErrStr appends the errLabel and a string (str) to an error (e) and returns a new error
func AppendInfoStr ¶
AppendInfoStr appends the infoLabel and a string (str) to an error (e) and returns a new error
func AppendWarnStr ¶
AppendWarnStr appends the warnLabel and a string (str) to an error (e) and returns a new error
func IsErr ¶
IsErr checks to see if the error (e) contains the errLabel and returns the boolean response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.