for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Fazland\SkebbyRestClient\Exception;
/**
* @author Massimiliano Braglia <[email protected]>
*/
class UnknownErrorResponseException extends Exception
{
* @var string
private $response;
* UnknownErrorResponseException constructor.
* @param string $message
* @param string $response
public function __construct($message = '', $response = null)
$this->response = $response;
parent::__construct($message);
}
public function __toString()
return '[' . get_class($this) . '] ' . $this->message . "\n" .
'Response: ' . "\n" .
$this->response
;
* @return string
public function getResponse()
return $this->response;