pointfreeco / swift-issue-reporting

Report issues in your application and library code as Xcode runtime warnings, breakpoints, assertions, and do so in a testable manner.
https://www.pointfree.co
MIT License
368 stars 60 forks source link

Implement public initializer for UnimplementedFailure #108

Closed andriyslyusar closed 1 month ago

andriyslyusar commented 1 month ago

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")