Instance Methodswift 6.1.2Distributed
onThrow(error:)
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
func onThrow<Err>(error: Err) async throws where Err : Error
func onThrow<Err>(error: Err) async throws where Err : Error
s11Distributed35LocalTestingInvocationResultHandlerV7onThrow5erroryx_tYaKs5ErrorRzlF
What are these?9SEKH
import Distributed
struct LocalTestingInvocationResultHandler
protocol Error : Sendable
A type representing an error value that can be thrown.
func onReturn<Success>(value: Success) async throws where Success : Decodable, Success : Encodable
func onReturnVoid() async throws
typealias SerializationRequirement = Codable