---
title: "Discussion on \"Best practices for error catching and handling\" | Hashnode"
description: "Discussion on \"Best practices for error catching and handling\". When catching and handling errors, you need to keep some best practices in mind. Some are essential for correct programs."
url: "https://hashnode.com/posts/error-catching-handling/6197e39c5bb9cc256fc686fb"
---

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

Discussion

# [Best practices for error catching and handling](https://sargalias.hashnode.dev/error-catching-handling?utm_source=hashnode&utm_medium=feed)

When catching and handling errors, you need to keep some best practices in mind. Some are essential for correct programs.

Nov 19, 2021 · 11 min read · sargalias.hashnode.dev  
Read the article

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

## Written by

[Spyros Argalias](https://hashnode.com/@sargalias)

@sargalias

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

I love programming

Front end developer specialising in JavaScript and React. Experienced in all aspects of modern front end development. Passionate about making accessible, secure and performant software. Experienced trainer and lead.

## Responses 4

Markdown supported · ⌘↵ to post

[Andrew Baisden](https://hashnode.com/@andrewbaisden)

[Dec 4, 2021](https://hashnode.com/posts/error-catching-handling/6197e39c5bb9cc256fc686fb/comment/61abae0ca375fb2266f3d3b0)

Good insights well worth using these tips.

[Spyros Argalias](https://hashnode.com/@sargalias)

[Dec 4, 2021](https://hashnode.com/posts/error-catching-handling/6197e39c5bb9cc256fc686fb/comment/61abae0ca375fb2266f3d3b0#reply-61abc55ea375fb2266f3d5c4)

Thank you

[evelyn ruiz](https://hashnode.com/@evelyn87)

[Nov 23, 2021](https://hashnode.com/posts/error-catching-handling/6197e39c5bb9cc256fc686fb/comment/619c7dc73d02a573598091c3)

I profoundly like your dedicated abilities as the post you distributed has some incredible data which is very valuable for my [WalgreensListen](https://www.walgreenslistens.life/).

[Spyros Argalias](https://hashnode.com/@sargalias)

[Nov 23, 2021](https://hashnode.com/posts/error-catching-handling/6197e39c5bb9cc256fc686fb/comment/619c7dc73d02a573598091c3#reply-619ca9c906cdc0324d914131)

Thanks very much!

[Ygritte tully](https://hashnode.com/@Yggy)

[Nov 22, 2021](https://hashnode.com/posts/error-catching-handling/6197e39c5bb9cc256fc686fb/comment/619c25153d02a57359808d5e)

Wow. Great!

[Spyros Argalias](https://hashnode.com/@sargalias)

[Nov 23, 2021](https://hashnode.com/posts/error-catching-handling/6197e39c5bb9cc256fc686fb/comment/619c25153d02a57359808d5e#reply-619ca9bafa52cd31fe52c354)

Thank you :)

[Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou)

[Nov 22, 2021](https://hashnode.com/posts/error-catching-handling/6197e39c5bb9cc256fc686fb/comment/619b53ec5bb9cc256fc6be84)

That's very well written, you did an amazing job [Spyros Argalias](https://hashnode.com/@sargalias). 👏

[Spyros Argalias](https://hashnode.com/@sargalias)

[Nov 22, 2021](https://hashnode.com/posts/error-catching-handling/6197e39c5bb9cc256fc686fb/comment/619b53ec5bb9cc256fc6be84#reply-619b687bdf376a260c58b77f)

Thanks very much [Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou)
