Skip to content

Commit f1ce84f

Browse files
authored
Fix typo in ErrorHandling Example (#93)
* Fix typo
1 parent f35f87c commit f1ce84f

File tree

1 file changed

+1
-1
lines changed
  • Examples/LambdaFunctions/Sources/ErrorHandling

1 file changed

+1
-1
lines changed

Diff for: Examples/LambdaFunctions/Sources/ErrorHandling/main.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import AWSLambdaRuntime
1616

1717
// MARK: - Run Lambda
1818

19-
// switch over the error type "requested" by thr request, and trigger sucg error accordingly
19+
// switch over the error type "requested" by the request, and trigger such error accordingly
2020
Lambda.run { (context: Lambda.Context, request: Request, callback: (Result<Response, Error>) -> Void) in
2121
switch request.error {
2222
// no error here!

0 commit comments

Comments
 (0)