# Microsoft.AspNetCore.Diagnostics.Abstractions

``` diff
 {
     namespace Microsoft.AspNetCore.Diagnostics {
+        public class ErrorContext {
+            public ErrorContext(HttpContext httpContext, Exception exception);
+            public Exception Exception { get; }
+            public HttpContext HttpContext { get; }
+        }
+        public interface IDeveloperPageExceptionFilter {
+            Task HandleExceptionAsync(ErrorContext errorContext, Func<ErrorContext, Task> next);
+        }
     }
 }
```

