ArmChaosModelFactory.ChaosOperationError(String, String) Method

Definition

Represents a system or infrastructure error encountered during an async operation.

public static Azure.ResourceManager.Chaos.Models.ChaosOperationError ChaosOperationError(string errorCode = default, string errorMessage = default);
static member ChaosOperationError : string * string -> Azure.ResourceManager.Chaos.Models.ChaosOperationError
Public Shared Function ChaosOperationError (Optional errorCode As String = Nothing, Optional errorMessage As String = Nothing) As ChaosOperationError

Parameters

errorCode
String

The error code identifying the type of system error.

errorMessage
String

A human-readable description of the system error.

Returns

A new ChaosOperationError instance for mocking.

Applies to