for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Viktoras\Scryfall\Client\Response;
use Viktoras\Scryfall\Entities\Error;
use Viktoras\Scryfall\Entities\ObjectInterface;
class ErrorResponse extends AbstractResponse
{
/**
* @return Error|ObjectInterface
*/
public function getError()
return $this->getObject();
}