FaultManager
-
interface
Omega\FaultManager\Interfaces\
FaultManager
Constants
-
ALL_EVENTS = *
- Type
string
Methods
-
public static
Omega\FaultManager\Interfaces\FaultManager::
exception
($exceptionClass, $message="", $code=0, $previous=null, $arguments=[]) - Parameters
$exceptionClass (string)
$message (string)
$code (int)
$previous (null | \Throwable <Throwable>)
$arguments (array)
- Returns
\Throwable <Throwable>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
-
public static
Omega\FaultManager\Interfaces\FaultManager::
throw
($exceptionClass, $message="", $code=0, $previous=null, $arguments=[]) - Parameters
$exceptionClass (string)
$message (string)
$code (int)
$previous (null | \Throwable <Throwable>)
$arguments (array)
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
- Throws
\Throwable <Throwable>
- Throws
\Omega\FaultManager\Abstracts\FaultManagerException <Omega\FaultManager\Abstracts\FaultManagerException>
- Throws
\Omega\FaultManager\Exceptions\BaseError <Omega\FaultManager\Exceptions\BaseError>
- Throws
\Omega\FaultManager\Exceptions\ExceptionNameIsEmpty <Omega\FaultManager\Exceptions\ExceptionNameIsEmpty>
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
- Throws
\Omega\FaultManager\Exceptions\NamespaceError <Omega\FaultManager\Exceptions\NamespaceError>
- Throws
\Hoa\Event\Exception <Hoa\Event\Exception>
- Throws
\ReflectionException <ReflectionException>
-
public static
Omega\FaultManager\Interfaces\FaultManager::
registerHandler
($eventId, $handler, $override=false) - Parameters
$eventId (string)
$handler (Omega\FaultManager\Interfaces\FaultManagerEventHandler <Omega\FaultManager\Interfaces\FaultManagerEventHandler>)
$override (bool)
- Throws
\Omega\FaultManager\Exceptions\EventHandlerExistsException <Omega\FaultManager\Exceptions\EventHandlerExistsException>
-
public static
Omega\FaultManager\Interfaces\FaultManager::
enableEventStream
() - Enables Event Stream for Exceptions
-
public static
Omega\FaultManager\Interfaces\FaultManager::
disableEventStream
() - Disables Event Stream for Exceptions
-
public static
Omega\FaultManager\Interfaces\FaultManager::
isEventStreamEnabled
() - Returns try if enabled false if not
- Returns
bool
-
public static
Omega\FaultManager\Interfaces\FaultManager::
setCompilePath
($path) - Set compile path
- Parameters
$path (string)
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>
-
public static
Omega\FaultManager\Interfaces\FaultManager::
compilePath
() - Get compile path
- Returns
string
-
public static
Omega\FaultManager\Interfaces\FaultManager::
autoloadCompiledExceptions
() - Autoload compiled exceptions
- Throws
\Omega\FaultManager\Exceptions\InvalidCompilePath <Omega\FaultManager\Exceptions\InvalidCompilePath>