configexception.php 570 B

1234567891011121314151617181920212223
  1. <?php
  2. if (!defined('GNUSOCIAL')) { exit(1); }
  3. /**
  4. * Class for configuration exceptions
  5. *
  6. * Subclass of ServerException for when the site's configuration is malformed.
  7. *
  8. * @category Exception
  9. * @package GNUsocial
  10. * @author Mikael Nordfeldth <mmn@hethane.se>
  11. * @license https://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
  12. * @link https://gnu.io/social
  13. */
  14. class ConfigException extends ServerException
  15. {
  16. public function __construct($message=null) {
  17. parent::__construct($message, 500);
  18. }
  19. }