Froody::Response::Error - create a response from an error
# from known problems my $response = Froody::Response::Error->from_exception($@, $repository) print $response->render; # or $response->throw;
This class is designed to allow you to create error responses quickly and easily.
Throw the response as an Froody::Error if possible. It may throw
undef if no error is associated with the current response.
This is missing the
argument functionality from the original implementation of Froody::Response.
Please report any bugs you find via the CPAN RT system. http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Froody
Copyright Fotango 2005. All rights reserved.
Please see the main Froody documentation for details of who has worked on this project.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.