diff --git a/error.go b/error.go index a0e8521..4471ecf 100644 --- a/error.go +++ b/error.go @@ -159,6 +159,7 @@ type multiUnwrap interface { } func GetHTTPError(err error) *HTTPError { + // TODO: Rewrite using errors.As if hErr, has := err.(*HTTPError); has { //nolint:errorlint return hErr }