NAME
Dancer2::Core::Response - Response object for Dancer2
VERSION
version 0.02
METHODS
error( @args )
$response->error( message => "oops" );
Creates a Dancer2::Core::Error object with the given @args and throw() it against the response object. Returns the error object.
AUTHOR
Dancer Core Developers
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Alexis Sukrieh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.