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-06-21 05:19:44 +02:00
|
|
|
const SHORT_TITLE = 'Title is too short';
|
|
|
|
const LONG_TITLE = 'Title is very long';
|
|
|
|
const SHORT_CONTENT = 'Content is too short';
|
|
|
|
const LONG_CONTENT = 'Content is very long';
|
2015-11-03 03:20:38 +01:00
|
|
|
}
|