aboutsummaryrefslogtreecommitdiff
path: root/lib/exceptions/LTIException.php
blob: 54239590a8941633707a0c46d32f4069f54c4bf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

namespace Studip;

use Studip\Exception;

/**
 * The LTIException class represents exceptions that occur in the Stud.IP LTI interface.
 */
class LTIException extends Exception
{
    /**
     * The REGISTRATION_NOT_LINKED_TO_TOOL status code represents the case where
     * a LTI tool registration is not linked to a tool.
     */
    public const REGISTRATION_NOT_LINKED_TO_TOOL = 1;

    /**
     * The REGISTRATION_NOT_LINKED_TO_PLATFORM status code represents the case where
     * a LTI platform registration is not linked to a platform.
     */
    public const REGISTRATION_NOT_LINKED_TO_PLATFORM = 2;
}