1 <?php
2
3 namespace Alo\Exception;
4
5 if (!defined('GEN_START')) {
6 http_response_code(404);
7 } else {
8
9 /**
10 * ORM-related exceptions
11 *
12 * @author Art <a.molcanovas@gmail.com>
13 */
14 class ORMException extends AbstractException {
15
16 /**
17 * Code when a datatype is not valid
18 *
19 * @var int
20 */
21 const E_INVALID_DATATYPE = 101;
22
23 /**
24 * Code when the query is invalid
25 * @var int
26 */
27 const E_INVALID_QUERY = 102;
28 }
29 }
30