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.
maybe instead use tearDown and clear db every time?