- $ _check_response(response =>, to =>, from =>, text =>, channel_not_found =>)
-
Internal method.
Checks the response from slack for the ok value and looks for error and warning values.
It will die if it's an error or ok not found.
The to, from and optional text values are included in the output to help troubleshoot.
If the error is 'channel_not_found' we call the 'channel_not_found' provided subroutine so the caller can handle sending to their custom error slack channel, etc.
Returns the following status code: 0 - okay 1 - warning found 2 - channel_not_found encountered and message was sent to the error channel successfully
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 134:
'=item' outside of any '=over'
=over without closing =back