tango-controls / pytango

This project was moved to gitlab.com
http://pytango.rtfd.io
54 stars 44 forks source link

Improve mandatory + default device property error message #385

Closed ajoubertza closed 4 years ago

ajoubertza commented 4 years ago

Provide a slightly more useful message if a device property is erroneously declared as both mandatory and having a default value. Also changed the exception type from the overly generic Exception to ValueError.

Closes #380