Méthode |
Description |
|
__invoke ( Erro\Error | Exceptio\Exception $ex, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface |
Solve given Error or Exception with set of params using solver's handler method. |
|
existsParam ( string $key ) : boolean |
Check if param saved under $key exists. |
|
existsSolver ( string $exception ) : boolean |
Check if solver for $exception does exist. |
|
getParam ( string $key ) : mixed | null |
Return param saved under $key or null if it does not exist. |
|
getSolver ( string $exception ) : Kraken\Supervision\SolverInterface | null |
Return solver for $exception or null if it does not exist. |
|
removeParam ( string $key ) |
Remove param saved under $key. |
|
removeSolver ( string $exception ) |
Remove solver for $exception. |
|
setParam ( string $key, mixed $value ) |
Set value of param saved under $key. |
|
setSolver ( string $exception, Kraken\Supervision\SolverInterface | string | string[] $handler ) |
Set solver for $exception. |
|
solve ( Erro\Error | Exceptio\Exception $ex, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface |
Handle error or exception of $ex using known handlers. |
|