You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, mistyping settings could confuse users who mistype settings.
Acceptance criteria
Use simple language to convey what the error is, for example "unknown setting", "unknown category" (or similar) when users use an invalid category or setting.
Hint at possible errors using language such as "Maybe it was spelled wrong", "use settings list to get a list of all valid settings", "setting names are case sensitive", bla.
Notes:
It's probably easiest to swap logic/runtime error types for custom exception types and then catch them via a } catch (InvalidCategory e) {...} catch (InvalidKey e) { ... } ... etc.
You can write a grammar for the settings, using e.g. boost::spirit
The text was updated successfully, but these errors were encountered:
Currently, mistyping settings could confuse users who mistype settings.
Acceptance criteria
settings list
to get a list of all valid settings", "setting names are case sensitive", bla.Notes:
} catch (InvalidCategory e) {...} catch (InvalidKey e) { ... } ...
etc.The text was updated successfully, but these errors were encountered: