%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/quickbooks/v3-php-sdk/src/Exception/ |
Upload File : |
<?php
namespace QuickBooksOnline\API\Exception;
/**
* Represents an IdsException.
*/
class IdsException extends \Exception
{
/**
* Debug information like intuit tid etc
* @var array
*/
private $debug = [];
/**
* Initializes a new instance of the IdsException class.
*
* @param string $message string-based exception description
* @param string $code exception code
*/
public function __construct($message, $code = 0)
{
parent::__construct($message, $code);
}
/**
* Set the debug info
* @param $info
*/
public function setDebug($info)
{
$this->debug = $info;
}
/**
* Returns the specific Intuit debug information for this call
* @param $info
*/
public function getDebug()
{
return $this->debug;
}
/**
* Generates a string-based representation of the exception
*/
public function __toString()
{
return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
}
}