WebService::Mattermost::Role::Returns
Common structures for return values.
error_return()
Return an unsuccessful response with an error message.
return $self->error_return('Error here'); # \{ # error => 1, # message => 'Error here. No API query was made.', # }
Mike Jones email:mike@netsplit.org.uk
To install WebService::Mattermost, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Mattermost
CPAN shell
perl -MCPAN -e shell install WebService::Mattermost
For more information on module installation, please visit the detailed CPAN module installation guide.