NAME

WebAPI::HTTP::Throwable::Role::JSONBody

VERSION

version 0.001008

OVERVIEW

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.

NAME

WebAPI::HTTP::Throwable::Role::JSONBody - an exception with a JSON body

AUTHOR

Tim Bunce <Tim.Bunce@pobox.com>

COPYRIGHT AND LICENSE

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.