Releases: GabrielHCataldo/go-errors
v1.2.1
Added formatted error functions and tests
Added new functions for formatted error creation: Newf and NewSkipCallerf in errors.go. These functions allow error messages with formatted strings. Cleaned up the message building functionality; separated message building from cleaning and formatting. Corresponding tests were also added in errors_test.go.
v1.2.0
Upgrade go-helper version.
v1.1.9
Bug fix func Details
v1.1.8
Bug fix removing breakline in cause error
v1.1.7
Bug fix.
v1.1.6
Bug fix for detail error on detail error, if one of the parameters is the detail error itself, we only get the same message.
v1.1.5
Bug fix in the regex to get the groups by the string Error(), it was not getting the entire debugStack.
v1.1.4
Bug fix in the Details function where I was unable to translate the message into fields due to regex.
v1.1.3
Added comparison functions that check whether an error message X contains error message Y.
v1.1.2
Bug fix convert to string and validate type IsBytes.