Skip to content

Commit

Permalink
Implement public initializer for UnimplementedFailure (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriyslyusar authored Aug 14, 2024
1 parent a4c2b6d commit c6809a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/IssueReporting/Unimplemented.swift
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ public func unimplemented<Result>(
/// An error thrown from throwing `unimplemented` closures.
public struct UnimplementedFailure: Error {
public let description: String

public init(description: String) {
self.description = description
}
}

package func _fail(
Expand Down

0 comments on commit c6809a1

Please sign in to comment.