for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* ownCloud - galleryplus
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
* @author Olivier Paroz <[email protected]>
* @copyright Olivier Paroz 2016
*/
namespace OCA\GalleryPlus\Environment;
use OCP\Util;
* Thrown when the Environment runs into a problem
class EnvironmentException extends \Exception {
* Constructor
* @param string $msg the message contained in the exception
public function __construct($msg) {
Util::writeLog('galleryplus', 'Exception' . $msg, Util::ERROR);
parent::__construct($msg);
}