Skip to content

Commit e9014d3

Browse files
committed
docs: point error-handling file
1 parent 6983ca4 commit e9014d3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

β€Žen/SUMMARY.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
- [Enumeration](objects/enumeration.md)
5252
- [Date and Time](date-and-time.md)
5353
- [JSON](json.md)
54-
- [Error Handling](error-handling/try...-catch.md)
54+
- [Error Handling](error-handling/README.md)
5555
- [try...catch](error-handling/try...-catch.md)
5656
- [try...catch...finally](error-handling/try...catch...finally.md)
5757
- [Modules](modules.md)

β€Žen/error-handling/README.mdβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ To make the most of error handling, consider these best practices:
4444
-Provide clear and user-friendly error messages.
4545
-Handle errors as close to their source as possible.
4646

47+
## try...catch Error Handling:
48+
One of the common error handling techniques is the try...catch block, which is described in the following sections.
49+
50+
* [try...catch](./try...-catch.md)
51+
* [try...catch...finally](./try...catch...finally.md)
52+
4753
## Conclusion
4854
Error handling is a critical aspect of JavaScript development.
4955
By understanding the types of errors, and following best practices,

0 commit comments

Comments
Β (0)