Bookmarks tagged [error-handling]
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...
- tags: angular, rxjs, error-handling
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.
- 📆 published on: 2019-11-19
- tags: graphql, error-handling, apollo
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...
- tags: expressjs, error-handling
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
- 📆 published on: 2019-12-02
- tags: expressjs, node.js, error-handling, async-await
- source code
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.
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.
- 📆 published on: 2015-04-21
- tags: javascript, error-handling, ecmascript-6, ecmascript-7, async-await, expressjs
- source code
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)
.
...
- tags: expressjs, error-handling, async-await
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...
- 📆 published on: 2017-08-04
- tags: expressjs, node.js, error-handling, async-await
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...
- 📆 published on: 2017-03-08
- tags: node.js, javascript, async-await, error-handling
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...
- 📆 published on: 2019-07-09
- tags: javascript, async-await, error-handling
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: ...
- 📆 published on: 2017-04-04
- tags: node.js, promise, error-handling
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.
- tags: go, error-handling
- source code
Package that provides simple error handling primitives.
- tags: go, error-handling
- source code
https://github.com/joomcode/errorx
A feature rich error package with stack traces, composition of errors and more.
- tags: go, error-handling
- source code
https://github.com/hashicorp/go-multierror
Go (golang) package for representing a list of errors as a single error.
- tags: go, error-handling
- source code
https://github.com/ztrue/tracerr
Golang errors with stack trace and source fragments.
- tags: go, error-handling
- source code
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.
- tags: go, error-handling
- source code
https://github.com/airbrake/airbrake
The official Airbrake library for Ruby on Rails (and other Rack based frameworks).
- tags: ruby, error-handling
- source code
https://github.com/charliesome/better_errors
Better error page for Rack apps.
- tags: ruby, error-handling
- source code
https://github.com/bugsnag/bugsnag-ruby
Error monitoring for Rails, Sinatra, Rack, and plain Ruby apps.
- tags: ruby, error-handling
- source code
https://github.com/errbit/errbit
The open source, self-hosted error catcher.
- tags: ruby, error-handling
- source code
https://github.com/richpeck/exception_handler
Custom error pages.
- tags: ruby, error-handling
- source code
https://github.com/smartinez87/exception_notification
A set of notifiers for sending notifications when errors occur in a Rack/Rails application.
- tags: ruby, error-handling
- source code
Exception, uptime, and performance monitoring for Ruby.
- tags: ruby, error-handling
https://github.com/skorks/nesty
Nested exceptions for Ruby.
- tags: ruby, error-handling
- source code
https://github.com/getsentry/raven-ruby
Raven is a Ruby client for Sentry.
- tags: ruby, error-handling
- source code
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.
- tags: python, testing, error-handling
- source code
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,...
- tags: error-handling, monitoring
- source code
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.
- tags: error-handling, javascript
- source code
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 *...
- 📆 published on: 2017-07-22
- tags: angular, error-handling
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...
- 📆 published on: 2018-01-21
- tags: angular, error-handling
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...
- tags: expressjs, devops, error-handling, async-await, pm2