mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-09-09 01:18:59 +02:00
27 lines
693 B
PHP
27 lines
693 B
PHP
<?php
|
|
|
|
/**
|
|
* Messages container
|
|
*
|
|
* Contains messages, that are used in the code.
|
|
*
|
|
* @author vesta, http://vestacp.com/
|
|
* @author Dmitry Malishev <dima.malishev@gmail.com>
|
|
* @copyright vesta 2010-2011
|
|
*/
|
|
class Message
|
|
{
|
|
|
|
const ERROR = 'error';
|
|
const REQUEST_INVALID = 'Malformed request';
|
|
const REQUEST_IS_NOT_POST = 'Request is not POST';
|
|
const GENERAL_ERROR = 'General protection fault';
|
|
const METHOD_NOT_EXIST = 'Message not exist';
|
|
const INVALID_METHOD = 'Method Invalid';
|
|
const SYSTEM_ERROR = 'System Error';
|
|
const PROTECTION_ERROR = 'Protection error';
|
|
|
|
}
|
|
|
|
?>
|