integrate request builder into HTTP client for googleapis support (#159)
All checks were successful
coverage / build (push) Successful in 2m19s
test / test (push) Successful in 2m27s

This commit is contained in:
2025-10-03 10:39:44 +05:00
committed by GitHub
parent b2b24e0a9a
commit c757127453
38 changed files with 9820 additions and 1894 deletions

14
status/error.go Normal file
View File

@@ -0,0 +1,14 @@
package status
// Error is a thin wrapper around Status that implements the error interface.
type Error struct {
s *Status
}
func (e *Error) Error() string {
return e.s.String()
}
func (e *Error) HTTPStatus() *Status {
return e.s
}