Files
VestaCP/web/vesta/core/utils/Message.class.php
2011-08-06 16:12:20 +03:00

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';
}
?>