dfinity / dfxvm

dfx version manager
Apache License 2.0
7 stars 5 forks source link

fix: adhere to error description guidelines #6

Closed ericswanson-dfinity closed 11 months ago

ericswanson-dfinity commented 11 months ago

Description

Changed the error descriptions to adhere to the guidelines from https://doc.rust-lang.org/std/error/trait.Error.html:

"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: