Class HttpException
Represents an exception related to HTTP requests, providing information about the request details and any associated exception.
Implements
Inherited Members
Namespace: Innovt.Core.Http
Assembly: Innovt.Core.dll
Syntax
public class HttpException : BaseException, ISerializable
Constructors
| Edit this page View SourceHttpException(HttpRequestDetail)
Initializes a new instance of the HttpException class with information about the HTTP request.
Declaration
public HttpException(HttpRequestDetail detail)
Parameters
Type | Name | Description |
---|---|---|
HttpRequestDetail | detail | The details of the HTTP request that triggered the exception. |
HttpException(Exception)
Initializes a new instance of the HttpException class with an exception related to the HTTP request.
Declaration
public HttpException(Exception requestException)
Parameters
Type | Name | Description |
---|---|---|
Exception | requestException | The exception related to the HTTP request. |
Properties
| Edit this page View SourceRequestDetail
Gets the details of the HTTP request that triggered the exception.
Declaration
public HttpRequestDetail RequestDetail { get; }
Property Value
Type | Description |
---|---|
HttpRequestDetail |
RequestException
Gets the exception related to the HTTP request.
Declaration
public Exception RequestException { get; }
Property Value
Type | Description |
---|---|
Exception |