original_string: public function send($params)
      {
          try {
              return $this->http->post($this->pushoverApiUrl, [
                  'form_params' => $this->paramsWithToken($params),
              ]);
          } catch (RequestException $exception) {
              if ($exception->getResponse()) {
                  throw CouldNotSendNotification::serviceRespondedWithAnError($exception->getResponse());
              }
              throw ServiceCommunicationError::communicationFailed($exception);
          } catch (Exception $exception) {
              throw ServiceCommunicationError::communicationFailed($exception);
          }
      }
code: public function send($params)
      {
          try {
              return $this->http->post($this->pushoverApiUrl, [
                  'form_params' => $this->paramsWithToken($params),
              ]);
          } catch (RequestException $exception) {
              if ($exception->getResponse()) {
                  throw CouldNotSendNotification::serviceRespondedWithAnError($exception->getResponse());
              }
              throw ServiceCommunicationError::communicationFailed($exception);
          } catch (Exception $exception) {
              throw ServiceCommunicationError::communicationFailed($exception);
          }
      }
code_tokens: public function send ( $ params ) { try { return $ this -> http -> post ( $ this -> pushoverApiUrl , [ 'form_params' => $ this -> paramsWithToken ( $ params ) , ] ) ; } catch ( RequestException $ exception ) { if ( $ exception -> getResponse ( ) ) { throw CouldNotSendNotification :: serviceRespondedWithAnError ( $ exception -> getResponse ( ) ) ; } throw ServiceCommunicationError :: communicationFailed ( $ exception ) ; } catch ( Exception $ exception ) { throw ServiceCommunicationError :: communicationFailed ( $ exception ) ; } }
docstring: Send Pushover message.
  
  @link  https://pushover.net/api
  
  @param  array  $params
  @return \Psr\Http\Message\ResponseInterface
  @throws CouldNotSendNotification
docstring_tokens: Send Pushover message .