a kind of humorous euphemism, for handling web errors
CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.nvmrc
README.md
UNLICENSE
heck.coffee
index.js
npm-shrinkwrap.json
package.json

README.md

heck -- for http errors handling on node

Sometimes errors happen.
Being humorous about it,
or making them pretty,
is what the heck does.

Why

I like isaacs/error-page and c9/vfs-http-adapter. This heck lets me use the former as an errorHandler for the latter. It also adds a few configuration extras, such as debug info for development.

Example

See this web app for example use.

Tests

Build Status

Actually, there are no tests yet.

However astrolin.org and other web apps do use heck and test for some errors. So, if the above build status is green then heck is working. If it's red, it's not for sure that the issue is with heck.

Unlicense

This is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.