mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
Merge pull request #33227 from morigs/patch-2
[got] Add body to HTTPError
This commit is contained in:
Vendored
+1
@@ -36,6 +36,7 @@ declare class HTTPError extends StdError {
|
||||
statusCode: number;
|
||||
statusMessage: string;
|
||||
headers: http.IncomingHttpHeaders;
|
||||
body: Buffer | string | object;
|
||||
}
|
||||
|
||||
declare class MaxRedirectsError extends StdError {
|
||||
|
||||
Reference in New Issue
Block a user