Error handlingΒΆ

All exception and errors are serialized into JSON and respective HTTP errors codes are set in responses.