Sisk

Constructor

HttpRequestException constructor

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

HttpRequestException(string) #

Initializes a new instance of the HttpRequestException class with a specified error message.

C#
public HttpRequestException(string message)

Parameters #

message string

The message that describes the error.

HttpRequestException(string, Exception?) #

Initializes a new instance of the HttpRequestException class with a specified error message and a reference to the inner exception that is the cause of this exception.

C#
public HttpRequestException(string message, Exception? innerException)

Parameters #

message string

The message that describes the error.

innerException Exception?

The exception that is the cause of the current exception, or null if no inner exception is specified.

Type to search the documentation and the API reference.