Migration This is my new public git source viewer. Source available. Please contact with concerns/bugs. Contact me

internal/core/errors.go

555062657fd628375205ad816ccef2038f65a47e · 117 B · 5 lines raw

1 package core
2
3 import "errors"
4
5 func asHTTPError(err error, target *httpError) bool { return errors.As(err, target) }