NAME
WebService::Mattermost::Role::Returns
DESCRIPTION
Common structures for return values.
METHODS
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.', # }
AUTHOR
Mike Jones email:mike@netsplit.org.uk