NAME

Error::Pure::ANSIColor::ErrorList - Error::Pure module with list of errors in one line with informations.

SYNOPSIS

 use Error::Pure::ANSIColor::ErrorList qw(err);
 err "This is a fatal error.", "name", "value";

SUBROUTINES

err(@messages)
 Process error with messages @messages.

EXAMPLE1

 use strict;
 use warnings;

 use Error::Pure::ANSIColor::ErrorList qw(err);

 # Error.
 err '1';

 # Output:
 # #Error [example1.pl:9] 1

EXAMPLE2

 use strict;
 use warnings;

 use Error::Pure::ANSIColor::ErrorList qw(err);

 # Error.
 err '1', '2', '3';

 # Output:
 # #Error [example2.pl:9] 1

EXAMPLE3

 use strict;
 use warnings;

 use English qw(-no_match_vars);
 use Error::Pure::ANSIColor::ErrorList qw(err);

 # Error.
 eval { err "1"; };
 if ($EVAL_ERROR) {
        err "2";
 }

 # Output:
 # #Error [example3.pl:10] 1
 # #Error [example3.pl:11] 2

DEPENDENCIES

Error::Pure::Utils, Error::Pure::Output::Text, Exporter, List::MoreUtils, Readonly.

SEE ALSO

Task::Error::Pure

Install the Error::Pure modules.

REPOSITORY

https://github.com/tupinek/Error-Pure-ANSIColor

AUTHOR

Michal Špaček mailto:skim@cpan.org

http://skim.cz

LICENSE AND COPYRIGHT

 © 2013-2017 Michal Špaček
 BSD 2-Clause License

VERSION

0.26