Zum Hauptinhalt springen

AxiosErrorCodes Class

Axios.Net › AxiosNet.Errors

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​

System.String

AxiosErrorCodes.BadOptionValue Field​

A config option has an invalid value.

public const string BadOptionValue = "ERR_BAD_OPTION_VALUE";

Field Value​

System.String

AxiosErrorCodes.BadRequest Field​

The server answered with a 4xx status that was rejected.

public const string BadRequest = "ERR_BAD_REQUEST";

Field Value​

System.String

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​

System.String

AxiosErrorCodes.Canceled Field​

The request was canceled.

public const string Canceled = "ERR_CANCELED";

Field Value​

System.String

AxiosErrorCodes.FormDataDepthExceeded Field​

Params or a form object are nested too deeply.

public const string FormDataDepthExceeded = "ERR_FORM_DATA_DEPTH_EXCEEDED";

Field Value​

System.String

AxiosErrorCodes.InvalidUrl Field​

The URL is invalid or not absolute.

public const string InvalidUrl = "ERR_INVALID_URL";

Field Value​

System.String

AxiosErrorCodes.Network Field​

The request could not reach the server.

public const string Network = "ERR_NETWORK";

Field Value​

System.String

AxiosErrorCodes.TimedOut Field​

Request timed out with Transitional.ClarifyTimeoutError enabled.

public const string TimedOut = "ETIMEDOUT";

Field Value​

System.String

AxiosErrorCodes.Timeout Field​

Request timed out (default).

public const string Timeout = "ECONNABORTED";

Field Value​

System.String