padrino/padrino-docs — pull request #8 by futurechimp (2012-05-18 16:24:57+00:00)
Title: A section on exception handling

Hi, I was wondering in irc whether there's a nice DRY way of handling exceptions in Padrino, and @roderyk pointed out that you can use the "error" method to handle specific sections in any way we want.

A bunch of us were surprised as we hadn't seen this documented anywhere, so I've added a small section on exception handling to document this (sweet) behaviour.

As a side note, although the last docs commit I did (#7) was merged, it hasn't been deployed yet, in case anybody's forgotten about it.