This repository was archived by the owner on Sep 12, 2024. It is now read-only.
This repository was archived by the owner on Sep 12, 2024. It is now read-only.
The proposed format is not clear #46
Open
Description
thread 'main' panicked at 'config is always valid and exists', src/main.rs:4:33
Error:
0: invalid config
1: config file does not exist
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
As a user, I will likely be confused what is 0
, 1
. Is 0
nearer to exit or nearer to the source of error? Maybe rather than 0
we put source
or sink
? What about putting the source for each error to be clearer?
thread 'main' panicked at 'config is always valid and exists'
Error:
src: invalid config, src/main.rs:4:33
1: config file does not exist, src/main.rs:10:3
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
What about this? What about attaching more context to each path? Like instead of getting Path not found', it will say
XXX Path not found`?
Metadata
Metadata
Assignees
Labels
No labels