for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ddlzz\AmoAPI\Exception;
/**
* Class ErrorCodeException.
*
* @author ddlzz
*/
class ErrorCodeException extends AmoException
{
* ErrorCodeException constructor.
* @param string $message
* @param string $response
* @param string $url
public function __construct($message = '', $response = '', $url = '')
parent::__construct($message);
$this->message .= '. Server response: '.$response;
$this->message .= '. Url: '.$url;
}