Make sure all user-facing messages are defined in one place and have custom exceptions defined for them
In some cases, we might not want to tell the user too much, since it might expose sensitive information about the system (what files are being accessed, etc.). But we might want to still codify the message, such as: "Error 12345: Something went wrong".
For the same reason, we need to make sure these messages are hardcoded and not just bubble up from some library throwing an exception.
Move the current exceptions from utils into a file called exceptions.
Context
Ideas:
See:
Value and/or benefit
.
Anything else?
No response