Search Results for

    Show / Hide Table of Contents

    Class DefaultExceptionHandler

    Defines a default exception handler for exceptions thrown which are not explicitly handled.

    Inheritance
    System.Object
    DefaultExceptionHandler
    Implements
    IHttpContextExceptionHandler<Exception>
    Namespace: MADE.Web.Exceptions
    Assembly: MADE.Web.dll
    Syntax
    public class DefaultExceptionHandler : object, IHttpContextExceptionHandler<Exception>

    Methods

    | Improve this Doc View Source

    HandleAsync(HttpContext, Exception)

    Handles the specified exception for the given context.

    Declaration
    public async Task HandleAsync(HttpContext context, Exception exception)
    Parameters
    Type Name Description
    HttpContext context

    The request context.

    Exception exception

    The exception thrown.

    Returns
    Type Description
    Task

    An asynchronous operation.

    Implements

    IHttpContextExceptionHandler<TException>

    Extension Methods

    ReflectionExtensions.GetPropertyValue<T>(Object, String)
    ReflectionExtensions.GetPropertyNames(Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps