IDNA: Errors - Allow people to get specific error in basic values#794
IDNA: Errors - Allow people to get specific error in basic values#794Arisa-Snowbell wants to merge 1 commit intoservo:mainfrom
Conversation
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.
Codecov ReportBase: 85.31% // Head: 85.31% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #794 +/- ##
=======================================
Coverage 85.31% 85.31%
=======================================
Files 22 22
Lines 3915 3915
=======================================
Hits 3340 3340
Misses 575 575
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
What's the use case for this? In |
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.