Raise a specific exception instead of generic AttributeError
Currently we raise an AttributeError when expected attribute is missing from the response. This is not very developer-friendly, so this patch creates a new exception (derived from AttributeError for compatibility) for this purpose. Change-Id: If2ac03dcd410d451dc7bbfe7bbd0b145da201c9a Related-Bug: #1550328changes/66/394466/3
parent
ba1eb4aa99
commit
aeebdf890b
Loading…
Reference in New Issue