"Error messages are typically concise lowercase sentences without trailing punctuation"
Also rename the errors/ directory to error/. The plural form fit when there was also a modes/ subdirectory, but the singular form seems better after flattening the directory structure. This is also consistent with dfx-core/src/error and dfx/src/lib/error.
How Has This Been Tested?
Updated a relevant test
Checklist:
[ ] I have edited the CHANGELOG accordingly.
[ ] I have made corresponding changes to the documentation in docs/cli-reference.
Description
Changed the error descriptions to adhere to the guidelines from https://doc.rust-lang.org/std/error/trait.Error.html:
Also rename the
errors/
directory toerror/
. The plural form fit when there was also amodes/
subdirectory, but the singular form seems better after flattening the directory structure. This is also consistent with dfx-core/src/error and dfx/src/lib/error.How Has This Been Tested?
Updated a relevant test
Checklist: