1 <?php
2
3 namespace Alo\Exception;
4
5 if (!defined('GEN_START')) {
6 http_response_code(404);
7 } else {
8
9 /**
10 * Cron-related exceptions
11 *
12 * @author Art <a.molcanovas@gmail.com>
13 */
14 class CronException extends AbstractException {
15
16 /**
17 * Code when the schedule expression is invalid
18 *
19 * @var int
20 */
21 const E_INVALID_EXPR = 101;
22
23 /**
24 * Code when one or more arguments are non-scalar
25 *
26 * @var int
27 */
28 const E_ARGS_NONSCALAR = 102;
29
30 }
31 }
32