fermi-ad / acsys-python

Python module to access the Fermilab Control System
MIT License
8 stars 2 forks source link

Add verbose error description to Status module #2

Open rneswold opened 3 years ago

rneswold commented 3 years ago

@kjhazelwood: It would be a nice feature in acsys if the status package had a convenience method to get the verbose description of an error/status code. The content should be kept in sync with the CLIB module, acnet_status.

beauremus commented 3 years ago

This could be done at build time or at run time with different trade-offs. The status codes don't change often so building the messages in at build time seems safest.

I have another project where I've parsed the text files, so we shouldn't solve that problem again.