WebAPI::HTTP::Throwable::Role::JSONBody
version 0.003001
When an HTTP::Throwable exception uses this role, its PSGI response will have a application/json content type and will send the message attribute as the response body. message should be a valid JSON string.
application/json
message
WebAPI::HTTP::Throwable::Role::JSONBody - an exception with a JSON body
Tim Bunce <Tim.Bunce@pobox.com>
This software is copyright (c) 2014 by Tim Bunce.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WebAPI::DBIC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebAPI::DBIC
CPAN shell
perl -MCPAN -e shell install WebAPI::DBIC
For more information on module installation, please visit the detailed CPAN module installation guide.