-
I couldn't figure out how to deal with the errors, so I tried to just stuff everything into |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
For lightweight examples, like in our docs, we just do sorry, kept getting distracted from replying |
Beta Was this translation helpful? Give feedback.
-
@epage At present, I have encountered in the code that includes both business logic judgment and Parser parsing, but I want to use |
Beta Was this translation helpful? Give feedback.
ParseError
is still a "light weight" error, borrowing all of its content. We could allow explicitly converting to owning the information and implement the trait, but that will be a bit of a crude process.For lightweight examples, like in our docs, we just do
.to_string()
. Fortoml_edit
, I convert to a custom error type.sorry, kept getting distracted from replying