when parsing
MyKey = [wrong]
with toml::parse
e.what() contains the error twice:
[error] bad format: unknown value appeared
--> /mathworks/devel/sandbox/abonnevi/workspace/bash/2026_05_21_toml/invalid.toml.pscfg
|
1 | MyKey = [wrong]
| ^-- here
[error] bad format: unknown value appeared
--> /mathworks/devel/sandbox/abonnevi/workspace/bash/2026_05_21_toml/invalid.toml.pscfg
|
1 | MyKey = [wrong]
| ^-- here
NOTE: this has something to do with this specific error because when parsing
MyKey
The error only appears one.
when parsing
MyKey = [wrong]with
toml::parsee.what()contains the error twice:NOTE: this has something to do with this specific error because when parsing
MyKeyThe error only appears one.