for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Yabacon\Paystack\Exception;
class ApiException extends PaystackException
{
private $responseObject;
private $requestObject;
public function __construct($message, $responseObject, $requestObject)
parent::__construct($message);
$this->responseObject = $responseObject;
$this->requestObject = $requestObject;
}
public function getResponseObject()
return $this->responseObject;
public function getRequestObject()
return $this->requestObject;