Skip to content

Commit bf73680

Browse files
dreamorosisvozza
andauthored
Apply suggestions from code review
Co-authored-by: Stefano Vozza <[email protected]>
1 parent e822eb5 commit bf73680

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/features/event-handler/rest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ You can use the `notFound()` method as a higher-order function or class method d
144144

145145
### Error handling
146146

147-
You can use the `errorHandler()` method as higher-order function or class method decorator to define a custom error handler for errors thrown in your route handlers or middleware.
147+
You can use the `errorHandler()` method as a higher-order function or class method decorator to define a custom error handler for errors thrown in your route handlers or middleware.
148148

149149
This allows you to catch and return custom error responses, or perform any other error handling logic you need.
150150

@@ -553,7 +553,7 @@ Please [check this issue](https://github.com/aws-powertools/powertools-lambda-ty
553553

554554
!!! note "Coming soon"
555555

556-
As applications grow and the number of routes a Lambda function handles increases, it becomes natural to either break into smaller Lambda functions or split routes into separate files to ease maintenance.
556+
As applications grow and the number of routes a Lambda function handles increases, it becomes natural to either break it into smaller Lambda functions or split routes into separate files to ease maintenance.
557557

558558
Currently, the TypeScript event-handler's Router class doesn't provide a way to compose multiple router instances, forcing developers to define all routes in a single file or manually merge route definitions.
559559

0 commit comments

Comments
 (0)