HTTP API Toolkit HTTP API Toolkit
HTTP API Toolkit HTTP API Toolkit
DocFX + Singulink = ♥

Search Results for

    Class ApiExceptionMiddleware

    Middleware that handles exceptions thrown during request processing by reporting them to the client as API errors. Exceptions are mapped using the registered IApiExceptionHandler (if any); otherwise ApiException instances are reported as-is and other exceptions propagate.

    Inheritance
    object
    ApiExceptionMiddleware
    Namespace: Singulink.Net.Http.Api.Service
    Assembly: Singulink.Net.Http.Api.Service.dll
    Syntax
    public class ApiExceptionMiddleware

    Constructors

    Name Description
    ApiExceptionMiddleware(RequestDelegate)

    Initializes a new instance of the ApiExceptionMiddleware class with the specified request delegate.

    Methods

    Name Description
    InvokeAsync(HttpContext)

    Invokes the middleware to handle exceptions thrown during request processing.

    © Singulink. All rights reserved.