mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-09 22:30:07 +00:00
add a note about the error message
This commit is contained in:
parent
d4a4865217
commit
0924164f51
@ -56,7 +56,7 @@ To show a better error message, it is recommended to pass filename with `istream
|
||||
|
||||
If there is a syntax error in a toml file, `toml::parse` will throw `toml::syntax_error`.
|
||||
|
||||
toml11 now has clean error messages inspired the Rust compiler and it looks like the following.
|
||||
toml11 now has clean error messages inspired the Rust compiler and it looks like the following (comment after hash sign are actually not shown).
|
||||
|
||||
```console
|
||||
terminate called after throwing an instance of 'toml::syntax_error'
|
||||
|
Loading…
Reference in New Issue
Block a user