mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
Fixed AxiosError status code type; (#4717)
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Vendored
+1
-1
@@ -182,7 +182,7 @@ export class AxiosError<T = unknown, D = any> extends Error {
|
|||||||
request?: any;
|
request?: any;
|
||||||
response?: AxiosResponse<T, D>;
|
response?: AxiosResponse<T, D>;
|
||||||
isAxiosError: boolean;
|
isAxiosError: boolean;
|
||||||
status?: string;
|
status?: number;
|
||||||
toJSON: () => object;
|
toJSON: () => object;
|
||||||
static readonly ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
|
static readonly ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
|
||||||
static readonly ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
|
static readonly ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
|
||||||
|
|||||||
Reference in New Issue
Block a user