onerror

Error handler

Provides an error handling mechanism for Koa applications by directly manipulating the application's ctx.onerror property.

an error handler for koa, hack ctx.onerror

GitHub

140 stars
10 watching
20 forks
Language: JavaScript
last commit: almost 3 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
koajs/error Middleware for handling error responses in web applications. 102
koajs/json-error An error handling middleware for Koa applications 91
ladjs/koa-better-error-handler A better error handling solution for Koa applications 53
koajs/parameter Middleware for validating parameters in web applications 67
koajs/resourcer Makes it easy to mount independent sub-applications within a Koa application using directory structure and configuration files. 35
koajs/cluster A utility for clustering and error handling in Koa applications 64
koajs/cors A middleware for managing cross-origin resource sharing in web applications. 732
koajs/trace A tracing module for Koa applications that enables event logging and supports various tracing systems. 53
koajs/etag Provides etag support for Koa responses 113
koajs/override-method Utility function to determine the HTTP method of an incoming request based on override headers or request body 7
koajs/route Simple middleware for routing requests to specific handlers in an application 446
koajs/ctx-basic-auth A Koa.js middleware that authenticates HTTP requests with basic authentication 6
koajs/json Middleware for generating pretty-printed JSON responses in Koa applications. 198
koajs/koa-roles An authentication module for Koa.js applications 118
koajs/rewrite Middleware to alter URLs in Koa applications 98