You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core/event_handler/api_gateway.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -595,9 +595,9 @@ You can easily raise any HTTP Error back to the client using `ServiceError` exce
595
595
???+ info
596
596
If you need to send custom headers, use [Response](#fine-grained-responses) class instead.
597
597
598
-
We provide pre-defined errors for the most popular ones such as HTTP 400, 401, 404, 500.
598
+
We provide pre-defined errors for the most popular ones based on [AWS Lambda API Reference Common Erros](https://docs.aws.amazon.com/lambda/latest/api/CommonErrors.html).
599
599
600
-
```python hl_lines="6-11 23 28 33 38 43" title="Raising common HTTP Status errors (4xx, 5xx)"
600
+
```python hl_lines="7-15 27 32 37 42 47 52 57 62 67" title="Raising common HTTP Status errors (4xx, 5xx)"
0 commit comments