‪TYPO3CMS  10.4
Error.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
18 namespace ‪TYPO3\CMS\Core\SysLog;
19 
23 class ‪Error
24 {
25  public const ‪MESSAGE = 0;
26  public const ‪USER_ERROR = 1;
27  public const ‪SYSTEM_ERROR = 2;
28  public const ‪SECURITY_NOTICE = 3;
29  public const ‪WARNING = 4;
30 
31  /*
32  * 100 is a code, which has been introduced by Kasper in his "Todays special" commit:
33  * @see https://github.com/typo3/typo3/commit/7496d6d033
34  *
35  * @todo The constant should either be renamed or replaced completely in the future
36  */
37  public const ‪TODAYS_SPECIAL = 100;
38 }
‪TYPO3\CMS\Core\SysLog\Error\WARNING
‪const WARNING
Definition: Error.php:29
‪TYPO3\CMS\Core\SysLog\Error\TODAYS_SPECIAL
‪const TODAYS_SPECIAL
Definition: Error.php:37
‪TYPO3\CMS\Core\SysLog\Error
Definition: Error.php:24
‪TYPO3\CMS\Core\SysLog
‪TYPO3\CMS\Core\SysLog\Error\USER_ERROR
‪const USER_ERROR
Definition: Error.php:26
‪TYPO3\CMS\Core\SysLog\Error\SYSTEM_ERROR
‪const SYSTEM_ERROR
Definition: Error.php:27
‪TYPO3\CMS\Core\SysLog\Error\SECURITY_NOTICE
‪const SECURITY_NOTICE
Definition: Error.php:28
‪TYPO3\CMS\Core\SysLog\Error\MESSAGE
‪const MESSAGE
Definition: Error.php:25