Elektrine lite

← Feed

@twostraws@mastodon.social

Post #1742378

2026-04-27 13:34 UTC

Catch the error, *then* what? #expect(throws:) and #require(throws:) in Swift Testing return the error directly, so you can inspect it separately from the throw check itself. https://www.hackingwithswift.com/swift/6.1/swift-testing-errors-expect

Replies (0)

No replies.