for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace mikemix\Wiziq\Common\Api\Exception;
use mikemix\Wiziq\API\Response;
class CallException extends \RuntimeException
{
public static function from(Response $response)
return new self($response->getErrorMessage(), $response->getErrorCode());
}