error-handling.md

July 15, 2021 · View on GitHub

Bookmarks tagged [error-handling]

www.codever.land/bookmarks/t/error-handling

RxJs Error Handling: Complete Practical Guide

https://blog.angular-university.io/rxjs-error-handling/

Error handling is an essential part of RxJs, as we will need it in just about any reactive program that we write.

Error handling in RxJS is likely not as well understood as other parts of the library...


Handling GraphQL errors like a champ with unions and interfaces - LogRocket Blog

https://blog.logrocket.com/handling-graphql-errors-like-a-champ-with-unions-and-interfaces/

An interesting approach to handling erros in GraphQL with the possibilities that the spec provides and still have type safety.


Express error handling

https://expressjs.com/en/guide/error-handling.html

Error Handling refers to how Express catches and processes errors that occur both synchronously and asynchronously. Express comes with a default error handler so you don’t need to write your own to ge...


Cleaner code in an Express REST API with unified error handling – CodepediaOrg

https://www.codepedia.org/ama/cleaner-code-in-expressjs-rest-api-with-custom-error-handling

Shows how you can make your backend ExpressJS REST API cleaner by using custom error handling middleware. Code snippets of before and after refactoring are presented to make the point


GitHub - davidbanham/express-async-errors

https://github.com/davidbanham/express-async-errors

async/await support for ExpressJS. Contribute to davidbanham/express-async-errors development by creating an account on GitHub.


StrongLoop - Asynchronous Error Handling in Express with Promises, Generators and ES7

https://strongloop.com/strongblog/async-error-handling-expressjs-es7-promises-generators/

This article focuses on effective ways to capture and handle errors using error-handling middleware in Express.


javascript - Handling errors in express async middleware - Stack Overflow

https://stackoverflow.com/questions/51391080/handling-errors-in-express-async-middleware

The easy way, is to add try/catch inside your middleware, and call next(err). ...


The 80/20 Guide to Express Error Handling

https://thecodebarbarian.com/80-20-guide-to-express-error-handling

Express' error handling middleware is a powerful tool for consolidating your HTTP error response logic. Odds are, if you've written Express code yo...


The 80/20 Guide to Async/Await in Node.js

http://thecodebarbarian.com/80-20-guide-to-async-await-in-node.js

Arguably the biggest new feature in Node.js 7.6.0 is that the much awaited async function keyword is now available without a flag. Callback hell and promise hell are now in the past. But, like Uncle B...


Async Await Error Handling in JavaScript

https://thecodebarbarian.com/async-await-error-handling-in-javascript

Error handling in async/await causes a lot of confusion. There are numerous patterns for handling errors in async functions, and even experienced developers sometimes get it wrong.

Suppose you have a...


Unhandled Promise Rejections in Node.js

http://thecodebarbarian.com/unhandled-promise-rejections-in-node.js

Node.js 6.6.0 added a sporadically useful bug/feature: logging unhandled promise rejections to the console by default. In other words, the below script will print an error to the console: ...


errlog

https://github.com/snwfdhmp/errlog

Hackable package that determines responsible source code for an error (and some other fast-debugging features). Pluggable to any logger in-place.


errors

https://github.com/pkg/errors

Package that provides simple error handling primitives.


errorx

https://github.com/joomcode/errorx

A feature rich error package with stack traces, composition of errors and more.


go-multierror

https://github.com/hashicorp/go-multierror

Go (golang) package for representing a list of errors as a single error.


tracerr

https://github.com/ztrue/tracerr

Golang errors with stack trace and source fragments.


werr

https://github.com/txgruppi/werr

Error Wrapper creates an wrapper for the error type in Go which captures the File, Line and Stack of where it was called.


Airbrake

https://github.com/airbrake/airbrake

The official Airbrake library for Ruby on Rails (and other Rack based frameworks).


Better Errors

https://github.com/charliesome/better_errors

Better error page for Rack apps.


Bugsnag

https://github.com/bugsnag/bugsnag-ruby

Error monitoring for Rails, Sinatra, Rack, and plain Ruby apps.


Errbit

https://github.com/errbit/errbit

The open source, self-hosted error catcher.


Exception Handler

https://github.com/richpeck/exception_handler

Custom error pages.


Exception Notification

https://github.com/smartinez87/exception_notification

A set of notifiers for sending notifications when errors occur in a Rack/Rails application.


Honeybadger

https://www.honeybadger.io/

Exception, uptime, and performance monitoring for Ruby.


Nesty

https://github.com/skorks/nesty

Nested exceptions for Ruby.


Raven Ruby

https://github.com/getsentry/raven-ruby

Raven is a Ruby client for Sentry.


FuckIt.py

https://github.com/ajalt/fuckitpy

FuckIt.py uses state-of-the-art technology to make sure your Python code runs whether it has any right to or not.


Sentry home page

https://sentry.io/

Open-source error tracking that helps developers monitor and fix crashes in real time. Iterate continuously. Boost workflow efficiency. Improve user experience.

Error Tracking Software — JavaScript,...


Toastr by CodeSeven

https://codeseven.github.io/toastr/

toastr is a Javascript library for Gnome / Growl type non-blocking notifications. jQuery is required. The goal is to create a simple core library that can be customized and extended.


Angular 4.3 HttpClient (Accessing REST Web Services With Angular)

https://medium.com/codingthesmartway-com-blog/angular-4-3-httpclient-accessing-rest-web-services-wit...

Let’s see how to use the new HttpClient in your Angular 4.3 project.

  • Setup project
  • Making HttpClient Available In The Project
  • Using HttpClient To Request Data
  • Typed Response
  • Error Handling *...
  • :calendar: published on: 2017-07-22
  • tags: angular, error-handling

Error Handling & Angular – Aleix Suau – Medium

https://medium.com/@aleixsuau/error-handling-angular-859d529fa53a

If you are more than… 2 years old, you’d have realized that indeed shit happens, and your apps are not an exception.

When it happens you can ignore it, and let the bad grow, or do something, and impr...


Performance Best Practices Using Express in Production

https://expressjs.com/en/advanced/best-practice-performance.html

This article discusses performance and reliability best practices for Express applications deployed to production.

This topic clearly falls into the “devops” world, spanning both traditional developm...