Merge pull request #33227 from morigs/patch-2

[got] Add body to HTTPError
This commit is contained in:
Jesse Trinity
2019-02-25 15:36:47 -08:00
committed by GitHub
+1
View File
@@ -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 {