forked from postrank-labs/goliath
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Api catches *all* errors, which means you can't use Goliath::Rack::Va…
…lidationError to catch an error raised within the Goliath::API class. I don't really like this implementation, but here's a patch to make Goliath::API pass through any Goliath::Validation::Error exceptions if Goliath::Rack::ValidationError is included
- Loading branch information
Philip (flip) Kromer
committed
Apr 18, 2011
1 parent
f392f43
commit 87e0897
Showing
2 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters