for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Bankiru\Api\Doctrine\Exception;
use ScayTrase\Api\Rpc\Exception\RemoteCallFailedException;
use ScayTrase\Api\Rpc\RpcResponseInterface;
class ApiCallException extends RemoteCallFailedException implements DoctrineApiException
{
public static function callFailed(RpcResponseInterface $response)
return new static(
sprintf('RPC Call failed: %s', $response->getError())
);
}