You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swift Package Manager utilities classes ArgumentParserError and ArgumentConversionError are not conforming to LocalizedError protocol which means the property localizedError returns a technical error message like:
Utility.ArgumentParserError error 1.
This can be quickly fixed in project with something similar to:
Additional Detail from JIRA
md5: 380fea13a0d2facc9a1c038b59c4851e
Issue Description:
Swift Package Manager utilities classes ArgumentParserError and ArgumentConversionError are not conforming to LocalizedError protocol which means the property localizedError returns a technical error message like:
Utility.ArgumentParserError error 1.
This can be quickly fixed in project with something similar to:
This change would lead to a more user friendly error message, like:
unknown option XYZ; use --help to list available options
I think LocalizedError protocol should be used for both ArgumentParserError and ArgumentConversionError inside SPM's code directly.
The text was updated successfully, but these errors were encountered: