Server IP : 184.154.167.98 / Your IP : 3.147.8.200 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/puertode/public_html/nextcloud/apps/gallery/lib/Middleware/ |
Upload File : |
<?php /** * Nextcloud - Gallery * * This file is licensed under the Affero General Public License version 3 or * later. See the COPYING file. * * @author Olivier Paroz <galleryapps@oparoz.com> * * @copyright Olivier Paroz 2017 */ namespace OCA\Gallery\Middleware; use OCP\Util; /** * Thrown when one of the tests in the "check" middlewares fails * * @package OCA\Gallery\Middleware */ class CheckException extends \Exception { /** * Constructor * * @param string $msg the message contained in the exception * @param int $code the HTTP status code */ public function __construct($msg, $code = 0) { Util::writeLog('gallery', 'Exception: ' . $msg . ' (' . $code . ')', Util::ERROR); parent::__construct($msg, $code); } }