File "Exception.php"
Full Path: /home/romayxjt/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe/REST/Exceptions/Exception.php
File size: 425 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Class Tribe__REST__Exceptions__Exception
*/
class Tribe__REST__Exceptions__Exception extends Exception {
/**
* @var int
*/
protected $status;
public function __construct( $message, $code, $status ) {
$this->message = $message;
$this->code = $code;
$this->status = $status;
}
/**
* Return the error status.
* @return int
*/
public function getStatus() {
return $this->status;
}
}