ErrorMiddleware

public final class ErrorMiddleware : Middleware, ServiceType

Captures all errors and transforms them into an internal server error HTTP response.