A custom Error class for creating user-facing error messages with an optional hint to guide users toward resolving issues.