Skip to content

Releases: GabrielHCataldo/go-errors

v1.2.1

24 May 22:47
Compare
Choose a tag to compare

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

24 May 22:47
Compare
Choose a tag to compare
Upgrade go-helper version.

v1.1.9

08 Feb 00:09
Compare
Choose a tag to compare

Bug fix func Details

v1.1.8

08 Feb 00:01
Compare
Choose a tag to compare

Bug fix removing breakline in cause error

v1.1.7

07 Feb 23:44
Compare
Choose a tag to compare

Bug fix.

v1.1.6

07 Feb 23:17
Compare
Choose a tag to compare

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

07 Feb 20:39
Compare
Choose a tag to compare

Bug fix in the regex to get the groups by the string Error(), it was not getting the entire debugStack.

v1.1.4

07 Feb 20:05
Compare
Choose a tag to compare

Bug fix in the Details function where I was unable to translate the message into fields due to regex.

v1.1.3

01 Feb 19:00
Compare
Choose a tag to compare

Added comparison functions that check whether an error message X contains error message Y.

v1.1.2

30 Jan 20:48
Compare
Choose a tag to compare

Bug fix convert to string and validate type IsBytes.