ErrorContext Class

Definition

Provides context about the error currently being handled by the DeveloperExceptionPageMiddleware.

public ref class ErrorContext
public class ErrorContext
type ErrorContext = class
Public Class ErrorContext
Inheritance
ErrorContext

Constructors

ErrorContext(HttpContext, Exception)

Initializes the ErrorContext with the specified HttpContext and Exception.

Properties

Exception

The Exception thrown during request processing.

HttpContext

The HttpContext.

Applies to