throw exception on receiving a resource with status set to `error`
handle resource error in collection
Merge pull request #16 from easybiblabs/topics/resource-error-1

throw exception on receiving a resource with status set to `error`