diff --git a/v1/errors/errors.go b/v1/errors/errors.go index f226e99..b050a81 100644 --- a/v1/errors/errors.go +++ b/v1/errors/errors.go @@ -9,6 +9,10 @@ func (ge *GoMaxError) Error() string { return ge.Err.Error() } +func (ge *GoMaxError) Unwrap() error { + return ge.Err +} + func New(parent error, text string) error { return &GoMaxError{ Message: text,