---
title: "Discussion on \"All about Errors in Javascript\" | Hashnode"
description: "Discussion on \"All about Errors in Javascript\". What is an Error?\nIn Javascript, an error is an object which gets thrown when something goes unexpected in a program.\nThe error object has three properties\n\nmessage - A message is a short description about the error\nname - Name tells us the type of t..."
url: "https://hashnode.com/posts/all-about-errors-in-javascript/6055ba265f8d5121697267b0"
---

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

Discussion

# [All about Errors in Javascript](https://sruthicodes.hashnode.dev/all-about-errors-in-javascript?utm_source=hashnode&utm_medium=feed)

What is an Error? In Javascript, an error is an object which gets thrown when something goes unexpected in a program. The error object has three properties message - A message is a short description about the error name - Name tells us the type of t...

Mar 20, 2021 · 13 min read · sruthicodes.hashnode.dev  
Read the article

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

## Written by

[Sruthi](https://hashnode.com/@sruthiragupathy)

@sruthiragupathy

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

Web developer

## Responses 1

Markdown supported · ⌘↵ to post

[Manasa Mandalreddy](https://hashnode.com/@Manasa-writes)

[Mar 25, 2021](https://hashnode.com/posts/all-about-errors-in-javascript/6055ba265f8d5121697267b0/comment/605cd268965326422a3ef995)

Hi [Sruthi](https://hashnode.com/@sruthiragupathy), thank you for sharing this.

-   It was very easy to follow.
-   understood types of errors and custom errors very well.
