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

Implement public initializer for UnimplementedFailure #108

Merged

Conversation

andriyslyusar
Copy link
Contributor

In order to be able to construct and throw UnimplementedFailure as alternative solution to unimplemented placeholder in throws functions and closures.

unimplemented("\(Self.self).count is unimplemented")
throw UnimplementedFailure(description: "\(Self.self).count is unimplemented")

Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

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

Thanks!

@stephencelis stephencelis merged commit c6809a1 into pointfreeco:main Aug 14, 2024
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