Closed thomasst closed 8 years ago
@wojcikstefan I'm now also storing the response in any APIError
. Is it okay to introduce a required argument to APIError
?
I believe it's fine - don't think anybody in the wild relies on constructing and throwing their own closeio_api.APIError
s.
ValidationError
class. Should be backwards compatible.For example, we can now check for errors like this:
e.field_errors['field_name']