File "exceptions.php"

Full Path: /var/www/bvnghean.vn/save_bvnghean.vn/wp-content/themes/publisher/includes/libs/better-framework/oculus/exceptions.php
File size: 378 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

if ( ! class_exists( 'BF_API_Exception' ) ) {

	/**
	 * Custom Exception except error code as string
	 *
	 * Class BF_API_Exception
	 */
	Class BF_API_Exception extends Exception {

		public function __construct( $message = '', $code = '', $previous = NULL ) {

			parent::__construct( $message, 0, is_null( $previous ) ? 0 : $previous );
			$this->code = $code;
		}
	}
}