NAME

Plack::Util::PeriAHS - Utility routines

VERSION

version 0.30

FUNCTIONS

errpage($env, $resp)

Render enveloped response $resp (as specified in Rinci::function) as an error page PSGI response, either in HTML/JSON/plaintext (according to $env->{"riap.request"}{fmt}). Will default to JSON if fmt is unsupported.

$env is PSGI environment.

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Steven Haryanto.

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