Standardize endpoint exception raising #985
Labels
enhancement
New feature or request
support
Improves our ability to support our platform
webapp
Web application development
In our in-house inventory manager, I raise all errors with a custom error object. Here's what that looks like:
This specialized exception detail is consumable by things such as the components in the
StatusBars
folder no problem to preserve the error, but also share a user-understandable reason why something went wrong and sometimes even directions for how to fix it.We can't do everything the same way in AmpliPi, our users don't sit 15 feet behind me to tell me when something goes wrong, but there is something to be gained by this in support of #326
The text was updated successfully, but these errors were encountered: