high-reliability-js icon indicating copy to clipboard operation
high-reliability-js copied to clipboard

Examples of Error Handling and reaching High Reliability with vanilla JavaScript

High Reliability in JavaScript - Tutorial

Welcome, this repo is part of my youtube video about Custom error handling + graceful shutdown + let it crash strategy in JavaScript (pt-br)

First of all, leave your star 🌟 on this repo.

Access our exclusive telegram channel so I'll let you know about all the content I've been producing

JavaScript is unreliable

Checkout the examples

  • Understanding the issue while throwing errors from callbacks
  • How to throw errors from async contexts
  • Common pattern for custom error classes in JavaScript
  • Handling errors as values, not exceptions (domain notification pattern)
  • Kubernetes simulator (once an application crashes it spins up another)
  • Let it crash! Handling global errors + graceful shutdown

Try them out online here

Author