Skip to content

Releases: openshift-online/weberr

v0.9.0

27 Mar 08:22
c236e4b

Choose a tag to compare

  • Add interoperability so that the standard library errors package can also be used to Unwrap weberr errors.
  • Add 'Join' function

v0.8.2

02 Jan 09:47
c7ad140

Choose a tag to compare

Add a wrapper to go errors Is() func

v0.7.0

30 Dec 11:01
7118065

Choose a tag to compare

Add a wrapper to pkg/errors As() func

v0.6.0

14 Aug 08:53
54d909c

Choose a tag to compare

Added SetUserMessage to allow overriding user messages

func SetUserMessage(err error, msg string) error 

v0.5.0

29 Jul 15:31
f28a8f8

Choose a tag to compare

Added Details API which allows adding any object to the error.

func AddDetails(err error, details interface{}) error
func GetDetails(err error) []interface{}

v0.4.0

02 May 08:11
67034c5

Choose a tag to compare

Wrapf(nil, msg, args...) ==> Errorf(msg, args...)
UserWrapf(nil, msg, args...) ==> UserErrorf(msg, args...)

v0.3.0

04 Mar 07:42
3fb299b

Choose a tag to compare

Change the value of NoType to iota

NoType defaulted to InternalServerError 500 but previous version added InternalServerError explicit error type.
This change sets NoType with a different non-http error code, leaving the decision of how to handle it to the application using the package.

v0.2.0

27 Feb 12:32
bfe5c85

Choose a tag to compare

Add known RFC error codes

v0.1.1

06 Jan 13:03

Choose a tag to compare

Fix license conflict

v0.1.0

03 Jan 11:44

Choose a tag to compare

Initial release