Skip to content

Commit 1bca0a1

Browse files
Update Sources/OpenAPIRuntime/Interface/ErrorHandlingMiddleware.swift
Co-authored-by: Honza Dvorsky <[email protected]>
1 parent 4ecec44 commit 1bca0a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OpenAPIRuntime/Interface/ErrorHandlingMiddleware.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import HTTPTypes
1717
/// An opt-in error handling middleware that converts an error to a HTTP response.
1818
///
1919
/// Inclusion of ``ErrorHandlingMiddleware`` should be accompanied by conforming errors to the ``HTTPResponseConvertible`` protocol.
20-
/// Undocumented errors, i.e, errors not confriming to ``HTTPResponseConvertible`` are converted to a response with 500 status code.
20+
/// Errors not conforming to ``HTTPResponseConvertible`` are converted to a response with the 500 status code.
2121
///
2222
/// Example usage
2323
/// 1. Create an error type that conforms to HTTPResponseConvertible protocol:

0 commit comments

Comments
 (0)