Table of Contents

OnFail

method in Coherence.Cloud
Methods
public PlayerAccountOperation<TResult> OnFail(Action<PlayerAccountOperationError> action)

Specify an action to perform if the operation fails (PlayerAccountOperation<TResult>.HasFailed becomes true.

Parameters
Type Name Description
Action<PlayerAccountOperationError> action

Reference to a function to execute if and when the operation has failed.

Returns
Type Description
PlayerAccountOperation<TResult>