We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93299fa commit 82b8842Copy full SHA for 82b8842
Sources/APIErrorMiddleware/Specialization/Specialization.swift
@@ -13,7 +13,7 @@ public struct ErrorResult {
13
public let status: HTTPStatus?
14
15
/// Creates an instance with a 'message' and 'status'.
16
- public init(message: String, status: HTTPStatus) {
+ public init(message: String, status: HTTPStatus?) {
17
self.message = message
18
self.status = status
19
}
0 commit comments