diff --git a/Examples/LambdaFunctions/Sources/ErrorHandling/main.swift b/Examples/LambdaFunctions/Sources/ErrorHandling/main.swift index b4f0c1a5..9f2fce2e 100644 --- a/Examples/LambdaFunctions/Sources/ErrorHandling/main.swift +++ b/Examples/LambdaFunctions/Sources/ErrorHandling/main.swift @@ -16,7 +16,7 @@ import AWSLambdaRuntime // MARK: - Run Lambda -// switch over the error type "requested" by thr request, and trigger sucg error accordingly +// switch over the error type "requested" by the request, and trigger such error accordingly Lambda.run { (context: Lambda.Context, request: Request, callback: (Result) -> Void) in switch request.error { // no error here!