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.
undef
This is missing the argument functionality from the original implementation of Froody::Response.
argument
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.
Froody, Froody::Response
To install Froody, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Froody
CPAN shell
perl -MCPAN -e shell install Froody
For more information on module installation, please visit the detailed CPAN module installation guide.