Skip to content

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