---
title: "Discussion on \"Custom Errors in JavaScript and when to use them?\" | Hashnode"
description: "Discussion on \"Custom Errors in JavaScript and when to use them?\". They're more useful than you think."
url: "https://hashnode.com/posts/custom-errors-in-javascript-and-when-to-use-them/658076e6d7e6b45689d7dd08"
---

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

Discussion

# [Custom Errors in JavaScript and when to use them?](https://tigerabrodi.blog/custom-errors-in-javascript-and-when-to-use-them?utm_source=hashnode&utm_medium=feed)

They're more useful than you think.

Dec 18, 2023 · 2 min read · tigerabrodi.blog  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#error-handling](https://hashnode.com/tag/error-handling)

## Written by

[Tiger Abrodi](https://hashnode.com/@tigerabrodi)

@tigerabrodi · Germany

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

Obsessed with crafting software.

Just a guy who loves to write code and watch anime.

## Responses 3

Markdown supported · ⌘↵ to post

[Rutika More](https://hashnode.com/@rutikamore)

[Dec 20, 2023](https://hashnode.com/posts/custom-errors-in-javascript-and-when-to-use-them/658076e6d7e6b45689d7dd08/comment/6582cd3813bee953f644e169)

thanks for sharing

[await](https://hashnode.com/@await)

[Dec 19, 2023](https://hashnode.com/posts/custom-errors-in-javascript-and-when-to-use-them/658076e6d7e6b45689d7dd08/comment/658136030322c40183969a76)

Good extends, which enhances developing experience and be able to know more clearly which the type of error is.

[Soubhik Chatterjee](https://hashnode.com/@soubhikchl)

[Dec 19, 2023](https://hashnode.com/posts/custom-errors-in-javascript-and-when-to-use-them/658076e6d7e6b45689d7dd08/comment/65812bc90322c4018396036d)

Quite informative...thanks for posting
