Closed LucaMarquesDito closed 1 year ago
With this PR go-dito/errors now can be created with the %w formatting directive, which allows wrapped errors, it also implements Unwrap which allows for our CustomError to be used with the standard errors package As and Is methods.
%w
Unwrap
CustomError
As
Is
With this PR go-dito/errors now can be created with the
%w
formatting directive, which allows wrapped errors, it also implementsUnwrap
which allows for ourCustomError
to be used with the standard errors packageAs
andIs
methods.