NAME

HTTP::Throwable::Role::BoringText - provide the simplest text_body method possible

VERSION

version 0.023

OVERVIEW

This role is as simple as can be. It provides a single method, text_body, which returns the result of calling the status_line method.

This method exists so that exception classes can easily be compatible with the HTTP::Throwable::Role::TextBody role to provide a plain text body when converted to an HTTP message. Most of the core well-known exception types consume this method.

AUTHORS

  • Stevan Little <stevan.little@iinteractive.com>

  • Ricardo Signes <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Infinity Interactive, Inc..

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.