interpreter: fixed and cleaned up error handling
interpreter: fixed and cleaned up error handling

- using new error object properties
- accepting all 2## responses as success now

czim/van-domburg-api-client