Device::Firmata::Error - error reporting
Intendend for module internal error reporting.
Implementation Status: experimental, unused
The base error reporting system. All errors will be stored in this object until the error flush code is called. This will allow the system to collect all errors that occur in various parts of the system in one place. Very useful for error reporting since it's a simple call to find out the last error.
Invocation of this function
$err->error( [numerical error level], ErrorMessage, ... parameters ... );
ErrorMessage can be in the format "KEY" that will be referenced by Device::Firmata::Base->language or "KEY:Message" where if ->language does not map to anything, the error will default to Message
To install Device::Firmata, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::Firmata
CPAN shell
perl -MCPAN -e shell install Device::Firmata
For more information on module installation, please visit the detailed CPAN module installation guide.