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