errors.ValidationError

Raised when an argument fails client-side validation before a request is sent,

Usage

Source

errors.ValidationError()

or when the server returns an empty or malformed JSON response.