-
Notifications
You must be signed in to change notification settings - Fork 0
API
- \Omega\FaultManager\Fault
- \Omega\FaultManager\Abstracts\FaultManagerException (abstract)
- \Omega\FaultManager\Exceptions\EmptyErrorNameException
- \Omega\FaultManager\Exceptions\FaultManagerException
- \Omega\FaultManager\Exceptions\InvalidCompilePathException
- \Omega\FaultManager\Exceptions\EventHandlerExistsException
- \Omega\FaultManager\Exceptions\NamespacedErrorException
- \Omega\FaultManager\Exceptions\IncompatibleErrorNameException
- \Omega\FaultManager\Interfaces\FaultManagerException (interface)
- \Omega\FaultManager\Interfaces\FaultManager (interface)
- \Omega\FaultManager\Interfaces\FaultManagerEventHandler (interface)
- \Omega\FaultManager\Plugins\CompiledExceptions
- \Omega\FaultManager\Plugins\RouteExceptions
Class Fault
| Visibility | Function |
|---|---|
| public static | autoloadCompiledExceptions() : void |
| public static | disableEventStream() : void |
| public static | enableEventStream() : void |
| public static |
exception(\string $exceptionClass, \string $message='', \integer $code, \Throwable $previous=null, array $arguments=array()) : void
|
| public static | getCompilePath() : mixed |
| public static | isEventStreamEnabled() : bool |
| public static | registerHandler(\string $eventId, \Omega\FaultManager\Interfaces\FaultManagerEventHandler $handler, \boolean $override=false) : void |
| public static | setCompilePath(\string $path) : void |
| public static |
throw(\string $exceptionClass, \string $message='', \integer $code, \Throwable $previous=null, array $arguments=array()) : void
|
| public static | unregisterHandler(\string $eventId) : void |
| protected static | mutate(\Throwable $exception) : void |
| protected static | registerEvent(\Hoa\Event\Source $router, \Throwable $exception) : void |
This class implements \Omega\FaultManager\Interfaces\FaultManager
| Visibility | Function |
|---|---|
| public |
__construct(\string $message=null, \integer $code=null, \Throwable $previous=null, array/null/array $arguments=null) : void FaultManagerException constructor. |
| public |
send() : void Override parent::send() Sends the exception on hoa://Event/Exception.
|
| protected static | mutate(\Throwable $exception) : void |
This class extends \Hoa\Exception\Exception
This class implements \Hoa\Event\Source, \Throwable, \Omega\FaultManager\Interfaces\FaultManagerException
Class EmptyErrorNameException
| Visibility | Function |
|---|
This class extends \Omega\FaultManager\Abstracts\FaultManagerException
This class implements \Omega\FaultManager\Interfaces\FaultManagerException, \Throwable, \Hoa\Event\Source
Class FaultManagerException
| Visibility | Function |
|---|
This class extends \Omega\FaultManager\Abstracts\FaultManagerException
This class implements \Omega\FaultManager\Interfaces\FaultManagerException, \Throwable, \Hoa\Event\Source
Class InvalidCompilePathException
| Visibility | Function |
|---|---|
| public |
__construct(\string $path) : void InvalidCompilePathException constructor. |
This class extends \Omega\FaultManager\Abstracts\FaultManagerException
This class implements \Omega\FaultManager\Interfaces\FaultManagerException, \Throwable, \Hoa\Event\Source
Class EventHandlerExistsException
| Visibility | Function |
|---|---|
| public |
__construct(\string $eventHandler) : void InvalidCompilePathException constructor. |
This class extends \Omega\FaultManager\Abstracts\FaultManagerException
This class implements \Omega\FaultManager\Interfaces\FaultManagerException, \Throwable, \Hoa\Event\Source
Class NamespacedErrorException
| Visibility | Function |
|---|
This class extends \Omega\FaultManager\Abstracts\FaultManagerException
This class implements \Omega\FaultManager\Interfaces\FaultManagerException, \Throwable, \Hoa\Event\Source
Class IncompatibleErrorNameException
| Visibility | Function |
|---|---|
| public |
__construct(\string $class) : void IncompatibleErrorNameException constructor. |
This class extends \Omega\FaultManager\Abstracts\FaultManagerException
This class implements \Omega\FaultManager\Interfaces\FaultManagerException, \Throwable, \Hoa\Event\Source
| Visibility | Function |
|---|
| Visibility | Function |
|---|---|
| public static |
autoloadCompiledExceptions() : void Autoload compiled exceptions |
| public static |
disableEventStream() : void Disables Event Stream for Exceptions |
| public static |
enableEventStream() : void Enables Event Stream for Exceptions |
| public static |
exception(\string $exceptionClass, \string $message='', int/\integer $code, \Throwable $previous=null, array $arguments=array()) : \Throwable
|
| public static |
getCompilePath() : string Get compile path |
| public static |
isEventStreamEnabled() : bool Returns try if enabled false if not |
| public static | registerHandler(\string $eventId, \Omega\FaultManager\Interfaces\FaultManagerEventHandler $handler, \boolean $override=false) : void |
| public static |
setCompilePath(\string $path) : void Set compile path |
| public static |
throw(\string $exceptionClass, \string $message='', int/\integer $code, \Throwable $previous=null, array $arguments=array()) : void
|
| Visibility | Function |
|---|---|
| public | __invoke(\Throwable $exception) : void |
| Visibility | Function |
|---|---|
| public | getMethod() : string |
| public | handle(array/null/array $filter=null, \boolean $whitelist=true) : \Generator |
| public | setFilesystem(\Omega\FaultManager\Plugins\IFilesystemInterface/\League\Flysystem\FilesystemInterface $filesystem) : void |
This class implements \League\Flysystem\PluginInterface
Class RouteExceptions
| Visibility | Function |
|---|
This class implements \Hoa\Event\Source