The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dancer::Core::Response - Response object for Dancer

VERSION

version 1.9999_02

METHODS

error( @args )

    $response->error( message => "oops" );

Creates a Dancer::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) 2012 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.