summaryrefslogtreecommitdiffstats
path: root/lib/Controller/Exceptions/NotLoggedInException.php
blob: 9bdf2475ce20c98fa77d5919bb3bc4711015ec3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php


namespace OCA\News\Controller\Exceptions;

use Throwable;

class NotLoggedInException extends \Exception
{
    public function __construct(?string $message = null)
    {
        parent::__construct($message ?? 'Unauthorized: User is not logged in!', 0, null);
    }
}