Contents

onThrow(error:)

Invoked when the distributed target execution of a target has thrown an error.

Declaration

func onThrow<Err>(error: Err) async throws where Err : Error

Discussion

It is not guaranteed that the error conform to the SerializationRequirement; This guarantee is only given to return values (and offered by onReturn).