# ErrorHandler

class ErrorHandler implements IErrorHandler

## Properties

protected EventDispatcher | $eventDispatcher |  |

## Methods

__construct()

No description

triggerRpcAfterEvent($data, $method)

No description

setExceptionHandler(callable $func)

No description

getExceptionHandler()

No description

setErrorHandler(callable $func)

No description

getErrorHandler()

No description

setShutdownHandler(callable $func)

No description

getShutdownHandler()

No description

setEventDispatcher(EventDispatcher $dispatcher)

No description

## Details

###
at line 25
`__construct()`

###
at line 40
`protected triggerRpcAfterEvent($data, $method)`

#### Parameters

| $data |
| $method |

###
at line 48
`setExceptionHandler(callable $func)`

#### Parameters

callable | $func |

###
at line 53
`getExceptionHandler()`

###
at line 84
`setErrorHandler(callable $func)`

#### Parameters

callable | $func |

###
at line 89
`getErrorHandler()`

###
at line 118
`setShutdownHandler(callable $func)`

#### Parameters

callable | $func |

###
at line 123
`getShutdownHandler()`

###
at line 164
`setEventDispatcher(EventDispatcher $dispatcher)`

#### Parameters

EventDispatcher | $dispatcher |