Raising an error when response returns any status code but 200.

This fixes #10