2015-11-03 03:20:38 +01:00
|
|
|
<?php
|
|
|
|
class ERRORS {
|
2015-11-19 01:57:59 +01:00
|
|
|
const INVALID_CREDENTIALS = 'User or password is not defined';
|
2016-02-02 22:41:10 +01:00
|
|
|
const SESSION_EXISTS = 'User is already logged in';
|
2016-07-04 20:57:00 +02:00
|
|
|
const NO_PERMISSION = 'You have no permission to access';
|
|
|
|
const INVALID_TITLE = 'Invalid title';
|
|
|
|
const INVALID_CONTENT = 'Invalid content';
|
2016-07-25 19:36:29 +02:00
|
|
|
const INVALID_EMAIL = 'Invalid email';
|
|
|
|
const INVALID_PASSWORD = 'Invalid password';
|
2016-07-25 22:26:14 +02:00
|
|
|
const INVALID_NAME = 'Invalid name';
|
2016-07-27 18:58:19 +02:00
|
|
|
const INVALID_SETTING = 'Invalid setting';
|
2016-08-04 05:59:04 +02:00
|
|
|
const INVALID_DEPARTMENT = 'Invalid department';
|
2016-08-04 20:18:29 +02:00
|
|
|
const INVALID_TICKET = 'Invalid ticket';
|
2016-07-26 23:30:51 +02:00
|
|
|
const INIT_SETTINGS_DONE = 'Settings already initialized';
|
2016-08-08 04:21:48 +02:00
|
|
|
const INVALID_OLD_PASSWORD = 'Invalid old password';
|
2015-11-03 03:20:38 +01:00
|
|
|
}
|