NAME
Error::Pure::ANSIColor::Print - Error::Pure module for simple error print.
SYNOPSIS
use Error::Pure::ANSIColor::Print qw(err);
err 'This is a fatal error', 'name', 'value';
# __or__
use Error::Pure qw(err);
$ENV{'ERROR_PURE_TYPE'} = 'ANSIColor::Print';
err "This is a fatal error.", "name", "value";
SUBROUTINES
err
err 'This is a fatal error', 'name', 'value';
Process error with messages (error, error_key/value pairs).
EXAMPLE1
use strict;
use warnings;
use Error::Pure::ANSIColor::Print qw(err);
# Error.
err '1';
# Output:
# 1
EXAMPLE2
use strict;
use warnings;
use Error::Pure::ANSIColor::Print qw(err);
# Error.
err '1', '2', '3';
# Output:
# 1
DEPENDENCIES
Error::Pure::Output::ANSIColor, Error::Pure::Utils, Exporter, List::Util, Readonly.
SEE ALSO
- Task::Error::Pure
-
Install the Error::Pure modules.
REPOSITORY
https://github.com/michal-josef-spacek/Error-Pure-ANSIColor
AUTHOR
Michal Josef Špaček mailto:skim@cpan.org
LICENSE AND COPYRIGHT
© 2013-2022 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.29