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.

10 lines
269 B

  1. <?php
  2. namespace OCA\Provisioning_API\Middleware\Exceptions;
  3. use OCP\AppFramework\Http;
  4. class NotSubAdminException extends \Exception {
  5. public function __construct() {
  6. parent::__construct('Logged in user must be at least a sub admin', Http::STATUS_FORBIDDEN);
  7. }
  8. }