10 Commits

Author SHA1 Message Date
Aron Carroll
2fc79eff0f Add a 413 Request Entity Too Large error object 2012-10-11 19:49:59 +02:00
Aron Carroll
908bf5b61e Added an error object for a 403 Forbidden status 2012-10-11 10:21:43 +02:00
Aron Carroll
bf76b8a246 Clean up error handling code
* Handle error status codes being passed to next().
 * Create renderPage() functions in the error handler.
 * Try and always show a nice error page.
 * Distinguish between bin not found and other generic 404's.
2012-07-23 23:07:50 +01:00
Aron Carroll
92b04334b1 Improve error handling
Don't throw a 500 if express creates a 4xx error
2012-07-22 16:32:39 +01:00
Aron Carroll
850da94579 Improve handling of mailer when no credentials are provided
Now gracefully handle missing email credentials rather than blowing up.
2012-07-13 22:37:14 +01:00
Aron Carroll
410592180b Display an HTTPError better as plain text 2012-07-13 14:42:02 +01:00
Aron Carroll
6d0badf424 Tidy up and document error objects 2012-06-30 20:55:35 +01:00
Remy Sharp
f0624339e1 Pushing in @aron's changes from #190 2012-06-27 16:20:15 +01:00
Aron Carroll
d5b704b943 Improve errors.js and add BadRequest error 2012-05-18 17:39:44 +01:00
Aron Carroll
602f1ad485 Move error objects into thier own module 2012-04-30 23:28:24 +01:00