public function DisqusException::__construct in Disqus 7
Creates a DisqusException.
Parameters
$message: The message for the exception.
$code: (optional) The error code.
$info: (optional) The result from the cURL call.
File
- ./
disqus.php, line 372 - Provides the Disqus PHP API.
Class
- DisqusException
- Any unsucessful result that's created by Disqus API will generate a DisqusException.
Code
public function __construct($message, $code = 0, $info = NULL, $disqus = NULL) {
$this->info = $info;
$this->disqus = $disqus;
parent::__construct($message, $code);
}