AxiosErrorCodes Class
Values of Code, same identifiers as axios.
public static class AxiosErrorCodes
Inheritance System.Object → AxiosErrorCodes
Fields
AxiosErrorCodes.BadOption Field
A config option is not valid.
public const string BadOption = "ERR_BAD_OPTION";
Field Value
AxiosErrorCodes.BadOptionValue Field
A config option has an invalid value.
public const string BadOptionValue = "ERR_BAD_OPTION_VALUE";
Field Value
AxiosErrorCodes.BadRequest Field
The server answered with a 4xx status that was rejected.
public const string BadRequest = "ERR_BAD_REQUEST";
Field Value
AxiosErrorCodes.BadResponse Field
The status was rejected, a size limit was exceeded or the body could not be read.
public const string BadResponse = "ERR_BAD_RESPONSE";
Field Value
AxiosErrorCodes.Canceled Field
The request was canceled.
public const string Canceled = "ERR_CANCELED";
Field Value
AxiosErrorCodes.FormDataDepthExceeded Field
Params or a form object are nested too deeply.
public const string FormDataDepthExceeded = "ERR_FORM_DATA_DEPTH_EXCEEDED";
Field Value
AxiosErrorCodes.InvalidUrl Field
The URL is invalid or not absolute.
public const string InvalidUrl = "ERR_INVALID_URL";
Field Value
AxiosErrorCodes.Network Field
The request could not reach the server.
public const string Network = "ERR_NETWORK";
Field Value
AxiosErrorCodes.TimedOut Field
Request timed out with Transitional.ClarifyTimeoutError enabled.
public const string TimedOut = "ETIMEDOUT";
Field Value
AxiosErrorCodes.Timeout Field
Request timed out (default).
public const string Timeout = "ECONNABORTED";