Defines an interface through which the Handler notifies subscribers about errors occurred while processing messages.
Definition at line 47 of file ErrorListener.h.
Class provides an interface for handling errors in subscriptions. It doesn't provide an interface for instance deletion. However, since C++ doesn't have pure interface concept, destructor will be generated anyway. We can only control proper use of it. For this reason we hide from public use and make it available for descendants.
Definition at line 64 of file ErrorListener.h.
|virtual void onError
||const std::string &
Implement this member to get notified about errors.
|code||identifies error occurred while processing messages. |
|description||supplies notes on occurred error. |
- Usually, Handler is capable to recover from errors by itself. That means, there's no need to restart manually. Instead, Handler will perform all necessary recovering by itself.
The documentation for this class was generated from the following file: