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

Namespaces

  • Alo
    • Cache
    • CLI
    • Controller
    • Db
    • Exception
    • FileSystem
    • Session
    • Traversables
    • Validators
    • Windows
  • Controller
  • None
  • PHP

Exceptions

  • AbstractException
  • ControllerException
  • CronException
  • ExtensionException
  • FileSystemException
  • LibraryException
  • OSException
  • ProfilerException
  • SFTPException
  • TesterException
 1 <?php
 2 
 3     namespace Alo\Exception;
 4 
 5     if (!defined('GEN_START')) {
 6         http_response_code(404);
 7     } else {
 8 
 9         /**
10          * Testing suite-related exceptions
11          *
12          * @author  Art <a.molcanovas@gmail.com>
13          * @package TestingSuite
14          */
15         class TesterException extends AbstractException {
16 
17             /**
18              * Code when the class or object is invalid
19              *
20              * @var int
21              */
22             const E_CLASS_INVALID = 101;
23 
24             /**
25              * Code when the method or function name is invalid
26              *
27              * @var int
28              */
29             const E_NAME_INVALID = 102;
30         }
31     }
32 
AloFramework documentation API documentation generated byApiGen 2.8.0