public function onPostingNotPermitted(Response $response) { throw new RuntimeException('Posting not permitted.', $response->getStatusCode()); }
public function onNoSuchArticleId(Response $response) { throw new RuntimeException('No article with that message-id.', $response->getStatusCode()); }
public function onPostingFailed(Response $response) { throw new RuntimeException(sprintf('Posting failed: %s', $response->getMessage()), $response->getStatusCode()); }
public function onError(Response $response) { throw new RuntimeException('Error retrieving group list', $response->getStatusCode()); }