NAME

Parse::FSM::Error - Format error and waring messages

SYNOPSIS

use Parse::FSM::Error qw( error warning );

error($message);
error($message, $file, $line_nr);

warning($message);
warning($message, $file, $line_nr);

DESCRIPTION

This module formats an error or warning message and displays it on STDERR, exiting with die for error.

EXPORTS

None by default.

error

Formats the error message, shows it on STDERR and dies. The file name and line number are optional.

warning

Formats the warning message and shows it on STDERR. The file name and line number are optional.

AUTHOR, BUGS, FEEDBACK, LICENSE, COPYRIGHT

See Parse::FSM