Consistent error handling

- [x] Server must return errors that have consistent format.
- [x] Unify way of handling with Throw and Callback errors.
- [x] Handle all errors. Now app can skip some errors, for example in PulsarDB.
Should we return in case of error? Or it will somehow magically do it on it's own when next called..?