Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conform Swiftly's Error type to CustomStringConvertible #203

Merged

Conversation

plemarquand
Copy link
Contributor

swift-argument-parser will use an Error's description when printing the error. This patch conforms Swiftly's Error type to CustomStringConvertible, which will show the actual message in stdout instead of the object's description of Error(message: "...")

Issue: #201

`swift-argument-parser` will use an Error's description when printing
the error. This patch conforms Swiftly's Error type to
CustomStringConvertible, which will show the actual message in stdout
instead of the object's description of `Error(message: "...")`

Issue: swiftlang#201
@cmcgee1024
Copy link
Member

@swift-ci test macOS

Copy link
Member

@cmcgee1024 cmcgee1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Thank you for your contribution.

@cmcgee1024 cmcgee1024 merged commit c7fe40d into swiftlang:main Jan 17, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants