Include location information in exception toString() #36
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
If you have some exception like
com.charleskorn.kaml.UnexpectedNullValueException: Unexpected null or empty value for non-null field.
this is not too informative about where the problem is in the data. The exception carries the location information but it is not shown anywhwere by default. Would be nice it would for example be automatically added to the message likecom.charleskorn.kaml.UnexpectedNullValueException: Unexpected null or empty value for non-null field. [1234:53]
The text was updated successfully, but these errors were encountered: