return response body as byte slice for RequestError type (#873)

This commit is contained in:
Ayush Sawant
2024-10-14 18:50:39 +05:30
committed by GitHub
parent 991326480f
commit cfe15ffd00
2 changed files with 7 additions and 5 deletions

View File

@@ -29,6 +29,7 @@ type RequestError struct {
HTTPStatus string
HTTPStatusCode int
Err error
Body []byte
}
type ErrorResponse struct {