Feature/improved error handling

See: https://github.com/OpenConext/OpenConext-engineblock/issues?q=is%3Aopen+is%3Aissue+milestone%3A4.3.0