Skip to content

Commit

Permalink
Update Sources/OpenAPIRuntime/Interface/ErrorHandlingMiddleware.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Honza Dvorsky <[email protected]>
  • Loading branch information
gayathrisairam and czechboy0 authored Nov 19, 2024
1 parent 7e7cd05 commit 52c8926
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import HTTPTypes
/// 2. Opt in to the ``ErrorHandlingMiddleware`` while registering the handler:
///
/// ```swift
/// let handler = try await RequestHandler()
/// let handler = RequestHandler()
/// try handler.registerHandlers(on: transport, middlewares: [ErrorHandlingMiddleware()])
/// ```
/// - Note: The placement of ``ErrorHandlingMiddleware`` in the middleware chain is important.
Expand Down

0 comments on commit 52c8926

Please sign in to comment.