---
title: "Discussion on \"try/catch/finally in JavaScript: Fail Gracefully Instead of Crashing\" | Hashnode"
description: "Discussion on \"try/catch/finally in JavaScript: Fail Gracefully Instead of Crashing\". What errors are, how try, catch and finally work, throwing your own errors, and the empty catch that hides bugs, with real output"
url: "https://hashnode.com/posts/javascript-error-handling/6b0497811cc1b59d9a1fcce2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [try/catch/finally in JavaScript: Fail Gracefully Instead of Crashing](https://jaydeepkanzariya.hashnode.dev/javascript-error-handling?utm_source=hashnode&utm_medium=feed)

What errors are, how try, catch and finally work, throwing your own errors, and the empty catch that hides bugs, with real output

2d ago · 10 min read · jaydeepkanzariya.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#frontend](https://hashnode.com/tag/frontend)

## Written by

[Jaydeep Kanzariya](https://hashnode.com/@jaydeepkanzariya)

@jaydeepkanzariya · India

  
[View profile](https://hashnode.com/@jaydeepkanzariya)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
