Raise errors from errored API responses, add client specs