AloFramework documentation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • Alo
    • Cache
    • Controller
    • Db
    • Exception
    • Session
    • Statics
    • Test
    • Validators
  • Controller
  • None
  • PHP

Exceptions

  • AbstractException
  • ControllerException
  • CronException
  • ExtensionException
  • FileException
  • ProfilerException
  • SFTPException
  • TesterException
 1 <?php
 2 
 3    namespace Alo\Exception;
 4 
 5    if (!defined('GEN_START')) {
 6       http_response_code(404);
 7       die();
 8    }
 9 
10    /**
11     * Cron-related exceptions
12     *
13     * @author Art <a.molcanovas@gmail.com>
14     */
15    class CronException extends AbstractException {
16 
17       /**
18        * Code when the minute expression is invalid
19        *
20        * @var int
21        */
22       const E_INVALID_MIN = 101;
23 
24       /**
25        * Code when the schedule expression is invalid
26        *
27        * @var int
28        */
29       const E_INVALID_EXPR = 102;
30 
31       /**
32        * Code when one or more arguments are non-scalar
33        *
34        * @var int
35        */
36       const E_ARGS_NONSCALAR = 103;
37 
38       /**
39        * Code when the server is running Windows
40        *
41        * @var int
42        */
43       const E_WINDOWS = 104;
44 
45    }
AloFramework documentation API documentation generated by ApiGen 2.8.0