WebService::Mattermost::Role::Returns - Standard returns for user-facing subroutines.
version 0.25
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 <mike@netsplit.org.uk>
This software is Copyright (c) 2020 by Mike Jones.
This is free software, licensed under:
The MIT (X11) License
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.