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

internal/core/errors.go

38fa4e6cd9bb9dbf0ae23ef02e50b1c75cd84ebb · 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) }