- Updated
Cast
to make use oferrors.As
to unwrap errors. - Added
ErrorResponseModel
andToErrorResponseModel
.
Cast
does now handle joined errors created viaerrors.Join
. See the documentation for more information.- Fixed some typos in the code documentation.
- Added function
WrapCopyCode
, which takes an error and–if it has an error code–copies the code to the new wrapped error. - Added formatted function alternatives
NewErrorf
,Wrapf
andWrapCopyCodef
- Initial preview release.