rust-mobile / cargo-subcommand

Library for implementing cargo subcommands
6 stars 6 forks source link

error: Include file paths as error context; distinguish toml parsing errors from "manifest not found" #14

Closed MarijnS95 closed 2 years ago

MarijnS95 commented 2 years ago

While implementing #12 an invalid .cargo/config.toml turned into an undescriptive and incorrect ManifestNotFound here. Forwarding the parsing error gives the user a much more descriptive error message that'll help understand what to fix.