Allow error messages from string notation parsers #20042
Labels
kind: wish
Feature or enhancement requests.
needs: triage
The validity of this issue needs to be checked, or the issue itself updated.
Is your feature request related to a problem?
As
String Notation
functions get more complex, it can be useful to report parsing errors. For example, in our code, I would like to add a bit of logic to check that the actual name being parsed is a name that exists in some table. Failing the parsing without providing an error makes it difficult to find this sort of thing.Proposed solution
Additionally support return types of,
Pstring + T
(wherePstring
is the type that is parsed from). If parsing fails (withinl err
), then print the error message when parsing fails.Alternative solutions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: