Message::Passing::Role::HasErrorChain - A role for components which can report errors
# Note this is an example package, and does not really exist! package Message::Passing::Output::ErrorAllMessages; use Moose; use namespace::autoclean; with qw/ Message::Passing::Role::Output Message::Passing::Role::HasErrorChain /; sub consume { my ($self, $message) = @_; $self->error->consume($message); }
Some components can create an error stream in addition to a message stream.
This module exists due to the wonderful people at Suretec Systems Ltd. <http://www.suretecsystems.com/> who sponsored its development for its VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with the SureVoIP API - <http://www.surevoip.co.uk/support/wiki/api_documentation>
See Message::Passing.
To install Message::Passing, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Message::Passing
CPAN shell
perl -MCPAN -e shell install Message::Passing
For more information on module installation, please visit the detailed CPAN module installation guide.