NAME
Error::Pure::Error - Error::Pure module with error on one line with informations.
SYNOPSIS
use Error::Pure::Error qw(err);
err 'This is a fatal error', 'name', 'value';
SUBROUTINES
err
err 'This is a fatal error', 'name', 'value';
Process error with message(s). There is key => value list after first message.
EXAMPLE1
use strict;
use warnings;
use Error::Pure::Error qw(err);
# Error.
err '1';
# Output:
# #Error [example1.pl:9] 1
EXAMPLE2
use strict;
use warnings;
use Error::Pure::Error qw(err);
# Error.
err '1', '2', '3';
# Output:
# #Error [example2.pl:9] 1
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/michal-josef-spacek/Error-Pure
AUTHOR
Michal Josef Špaček mailto:skim@cpan.org
LICENSE AND COPYRIGHT
© 2008-2024 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.34