ArmMachineLearningComputeModelFactory.ErrorResponseWrapper Method

Definition

Initializes a new instance of ErrorResponseWrapper.

public static Azure.ResourceManager.MachineLearningCompute.Models.ErrorResponseWrapper ErrorResponseWrapper (Azure.ResourceManager.MachineLearningCompute.Models.ErrorResponse error = default);
static member ErrorResponseWrapper : Azure.ResourceManager.MachineLearningCompute.Models.ErrorResponse -> Azure.ResourceManager.MachineLearningCompute.Models.ErrorResponseWrapper
Public Shared Function ErrorResponseWrapper (Optional error As ErrorResponse = Nothing) As ErrorResponseWrapper

Parameters

error
ErrorResponse

The error response.

Returns

A new ErrorResponseWrapper instance for mocking.

Applies to