Dancer2::Core::Response - Response object for Dancer2
$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.
Dancer Core Developers
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.