aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/OAuth2/Exceptions/SetupError.php
blob: e7b9928021b2da49cab59f9144c8e23142ceb55f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

namespace Studip\OAuth2\Exceptions;

use League\OAuth2\Server\Exception\OAuthServerException;

class SetupError extends OAuthServerException
{
    public function __construct()
    {
        $message = _('Das OAuth2-Setup dieser Stud.IP-Installation ist fehlerhaft.');

        parent::__construct($message, 500, 'invalid_setup', 500);
    }
}