Error::Pure::HTTP::AllError - Error::Pure module with full backtrace over HTTP.
use Error::Pure::HTTP::AllError qw(err); err "This is a fatal error.", "name", "value";
Process error with messages @messages.
use strict; use warnings; use Error::Pure::HTTP::AllError qw(err); # Error. err "This is a fatal error.", "name", "value"; # Output like this: # Content-type: text/plain # # ERROR: This is a fatal error. # name: value # main err ./script.pl 12
use strict; use warnings; use Error::Pure::HTTP::AllError qw(err); # Print before. print "Before\n"; # Error. err "This is a fatal error.", "name", "value"; # Print after. print "After\n"; # Output like this: # Before # Content-type: text/plain # # ERROR: This is a fatal error. # name: value # main err ./script.pl 12 # After
Error::Pure::Utils, Error::Pure::Output::Text, Exporter, List::MoreUtils, Readonly.
Install the Error::Pure modules.
https://github.com/michal-josef-spacek/Error-Pure-HTTP
Michal Josef Špaček mailto:skim@cpan.org
http://skim.cz
© 2012-2023 Michal Josef Špaček
BSD 2-Clause License
0.16
To install Error::Pure::HTTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Error::Pure::HTTP
CPAN shell
perl -MCPAN -e shell install Error::Pure::HTTP
For more information on module installation, please visit the detailed CPAN module installation guide.