2015-11-03 03:20:38 +01:00
|
|
|
<?php
|
|
|
|
class ERRORS {
|
2016-10-04 23:42:47 +02:00
|
|
|
const INVALID_CREDENTIALS = 'INVALID_CREDENTIALS';
|
|
|
|
const SESSION_EXISTS = 'SESSION_EXISTS';
|
|
|
|
const USER_EXISTS = 'USER_EXISTS';
|
|
|
|
const NO_PERMISSION = 'NO_PERMISSION';
|
|
|
|
const INVALID_TITLE = 'INVALID_TITLE';
|
|
|
|
const INVALID_CONTENT = 'INVALID_CONTENT';
|
|
|
|
const INVALID_EMAIL = 'INVALID_EMAIL';
|
|
|
|
const INVALID_PASSWORD = 'INVALID_PASSWORD';
|
|
|
|
const INVALID_NAME = 'INVALID_NAME';
|
|
|
|
const INVALID_SETTING = 'INVALID_SETTING';
|
|
|
|
const INVALID_DEPARTMENT = 'INVALID_DEPARTMENT';
|
|
|
|
const INVALID_TICKET = 'INVALID_TICKET';
|
|
|
|
const INIT_SETTINGS_DONE = 'INIT_SETTINGS_DONE';
|
|
|
|
const INVALID_OLD_PASSWORD = 'INVALID_OLD_PASSWORD';
|
|
|
|
const INVALID_CAPTCHA = 'INVALID_CAPTCHA';
|
2016-09-29 19:34:20 +02:00
|
|
|
const INVALID_TICKET_EVENT = 'INVALID_TICKET_EVENT';
|
2016-10-03 21:44:41 +02:00
|
|
|
const INVALID_LANGUAGE = 'INVALID_LANGUAGE';
|
2016-10-08 00:03:21 +02:00
|
|
|
const TICKET_ALREADY_ASSIGNED = 'TICKET_ALREADY_ASSIGNED';
|
2016-10-15 09:32:38 +02:00
|
|
|
const INVALID_PRIORITY = 'INVALID_PRIORITY';
|
2016-11-04 23:10:32 +01:00
|
|
|
const INVALID_PAGE = 'INVALID_PAGE';
|
|
|
|
const INVALID_QUERY = 'INVALID_QUERY';
|
2016-11-23 02:27:05 +01:00
|
|
|
const INVALID_TOPIC = 'INVALID_TOPIC';
|
2016-11-30 07:33:46 +01:00
|
|
|
const INVALID_SEARCH = 'INVALID_SEARCH';
|
|
|
|
const INVALID_ORDER = 'INVALID_ORDER';
|
2016-11-30 18:13:57 +01:00
|
|
|
const INVALID_USER = 'INVALID_USER';
|
2016-11-30 23:16:18 +01:00
|
|
|
const ALREADY_BANNED = 'ALREADY_BANNED';
|
2016-12-06 03:17:18 +01:00
|
|
|
const INVALID_LEVEL = 'INVALID_LEVEL';
|
|
|
|
const ALREADY_A_STAFF = 'ALREADY_A_STAFF';
|
2016-12-07 21:24:42 +01:00
|
|
|
const INVALID_STAFF = 'INVALID_STAFF';
|
2016-12-14 00:19:17 +01:00
|
|
|
const SAME_DEPARTMENT = 'SAME_DEPARTMENT';
|
2016-12-22 07:07:06 +01:00
|
|
|
const INVALID_TOKEN = 'INVALID_TOKEN';
|
2016-12-23 05:27:21 +01:00
|
|
|
const UNVERIFIED_USER = 'UNVERIFIED_USER';
|
2017-01-04 00:35:46 +01:00
|
|
|
const INVALID_TEMPLATE = 'INVALID_TEMPLATE';
|
|
|
|
const INVALID_SUBJECT = 'INVALID_SUBJECT';
|
|
|
|
const INVALID_BODY = 'INVALID_BODY';
|
2017-01-16 22:15:28 +01:00
|
|
|
const USER_SYSTEM_DISABLED = 'USER_SYSTEM_DISABLED';
|
2017-01-16 21:11:45 +01:00
|
|
|
const SYSTEM_USER_IS_ALREADY_DISABLED = 'SYSTEM_USER_IS_ALREADY_DISABLED';
|
|
|
|
const SYSTEM_USER_IS_ALREADY_ENABLED = 'SYSTEM_USER_IS_ALREADY_ENABLED';
|
2017-01-12 06:50:45 +01:00
|
|
|
const INVALID_PERIOD = 'INVALID_PERIOD';
|
2017-01-13 19:50:35 +01:00
|
|
|
const NAME_ALREADY_USED = 'NAME_ALREADY_USED';
|
2017-01-12 20:45:01 +01:00
|
|
|
const INVALID_FILE = 'INVALID_FILE';
|
2015-11-03 03:20:38 +01:00
|
|
|
}
|