CanceledError Class
Thrown when a request is canceled through CancellationToken.
public class CanceledError : AxiosNet.Errors.AxiosException
Inheritance System.Object → System.Exception → AxiosException → CanceledError
Constructors
CanceledError(AxiosRequestConfig, string, HttpRequestMessage, Exception) Constructor
Creates the error of a canceled request.
public CanceledError(AxiosNet.Config.AxiosRequestConfig config, string message="canceled", System.Net.Http.HttpRequestMessage? request=null, System.Exception? inner=null);
Parameters
config AxiosRequestConfig
The config the request was sent with.
message System.String
Description of the cancellation.
request System.Net.Http.HttpRequestMessage
The request that was sent, when it got that far.
inner System.Exception
The exception that caused this one.