Skip to content

Commit 82b8842

Browse files
committed
Changed ErrorResult(message:status:) status parameter type to HTTPStatus?
1 parent 93299fa commit 82b8842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/APIErrorMiddleware/Specialization/Specialization.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public struct ErrorResult {
1313
public let status: HTTPStatus?
1414

1515
/// Creates an instance with a 'message' and 'status'.
16-
public init(message: String, status: HTTPStatus) {
16+
public init(message: String, status: HTTPStatus?) {
1717
self.message = message
1818
self.status = status
1919
}

0 commit comments

Comments
 (0)