You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
624 B
31 lines
624 B
<?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\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('gallery', 'Exception' . $msg, Util::ERROR); |
|
parent::__construct($msg); |
|
} |
|
}
|
|
|