Explorar o código

added Alert Exception classes

Piotr Labudda %!s(int64=10) %!d(string=hai) anos
pai
achega
e01cdc6a6e
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      SE/se-lib/bootstrap.php

+ 5 - 0
SE/se-lib/bootstrap.php

@@ -7,6 +7,11 @@ define('APP_PATH_WWW', APP_PATH_ROOT);
 define('APP_PATH_CONFIG', APP_PATH_ROOT . DS . 'config');
 define('APP_PATH_SCHEMA', APP_PATH_ROOT . DS . 'schema');
 
+class AlertWarningException extends Exception {}
+class AlertDangerException extends Exception {}
+class AlertSuccessException extends Exception {}
+class AlertInfoException extends Exception {}
+
 require_once APP_PATH_LIB . '/' . 'Lib.php';
 Lib::loadClass('DBG');
 Lib::loadClass('V');