Error::Pure::ANSIColor::AllError - Error::Pure module with full backtrace.
use Error::Pure::ANSIColor::AllError qw(err); err "This is a fatal error.", "name", "value"; # __or__ use Error::Pure qw(err); $ENV{'ERROR_PURE_TYPE'} = 'ANSIColor::AllError'; err "This is a fatal error.", "name", "value";
err "This is a fatal error.", "name", "value";
Process error with messages (error, error_key/value pairs).
use strict; use warnings; use Error::Pure::ANSIColor::AllError qw(err); err "This is a fatal error.", "name", "value"; # Output: # ERROR: This is a fatal error. # name: value # main err ./script.pl 12
Error::Pure::Output::ANSIColor, Error::Pure::Utils, Exporter, List::Util, Readonly.
Install the Error::Pure modules.
https://github.com/michal-josef-spacek/Error-Pure-ANSIColor
Michal Josef Špaček mailto:skim@cpan.org
http://skim.cz
© 2013-2022 Michal Josef Špaček
BSD 2-Clause License
0.29
To install Error::Pure::ANSIColor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Error::Pure::ANSIColor
CPAN shell
perl -MCPAN -e shell install Error::Pure::ANSIColor
For more information on module installation, please visit the detailed CPAN module installation guide.