Open Arisa-Snowbell opened 2 years ago
Base: 85.31% // Head: 85.31% // No change to project coverage :thumbsup:
Coverage data is based on head (
99326c5
) compared to base (359bc90
). Patch has no changes to coverable lines.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
This commit allows people to actually get the basic values and based on that decide what to do next in their code.
What's the use case for this?
In idna
1.0, I removed all these error categorization fields, but there's an option to have each error flagged by a REPLACEMENT CHARACTER in the ToUnicode output, which can indicate to the end user where the errors were.
When for example I wanted to figure out whats wrong with the unicode string I tried to convert to ASCII I could before this get only string from of it becuase of the implemented Debug for Errors struct but thats very inconvinient trying to parse a string where there is the possibility of accessing the basic values themselves. This commit allows people to actually get the basic values and based on that decide what to do next in their code.