-friendly exception handler differentiates between own errors and unexpected exceptions
- tests and test helpers