SwiftarrErrorMiddleware
public final class SwiftarrErrorMiddleware : AsyncMiddlewareCaptures all errors and transforms them into an internal server error HTTP response.
- 
                  
                  DeclarationSwift var isReleaseMode: Bool
- 
                  
                  DeclarationSwift func handleError(req: Request, error: Error) -> Response
- 
                  
                  DeclarationSwift init(environment: Environment)
- 
                  respond(to:AsynchronouschainingTo: ) See Middleware.DeclarationSwift public func respond(to request: Request, chainingTo next: AsyncResponder) async throws -> Response
 View on GitHub
            View on GitHub
           SwiftarrErrorMiddleware Class Reference
      SwiftarrErrorMiddleware Class Reference