Write a bunch of POD for modules that don't have it.

This commit is contained in:
Colin Kuskie 2010-08-26 14:39:13 -07:00
parent 713d3dc801
commit 0b5d4e4614
6 changed files with 65 additions and 5 deletions

View file

@ -18,6 +18,17 @@ use Try::Tiny;
use Scalar::Util 'blessed';
use HTTP::Status ();
=head2 transform_error ($env)
Transforms exceptions of the class WebGUI::Error::Fatal into HTTP 500 error messages, displaying
the contents of the exception to the user.
=head3 $env
A Plack environment hash
=cut
sub transform_error {
my $self = shift;
my ($e, $env) = @_;
@ -33,4 +44,4 @@ sub transform_error {
}
}
1;
1;