Share via


VoiceLiveModelFactory.VoiceLiveErrorDetails Method

Definition

Error object returned in case of API failure.

public static Azure.AI.VoiceLive.VoiceLiveErrorDetails VoiceLiveErrorDetails(string code = default, string message = default, string param = default, string type = default, string eventId = default);
static member VoiceLiveErrorDetails : string * string * string * string * string -> Azure.AI.VoiceLive.VoiceLiveErrorDetails
Public Shared Function VoiceLiveErrorDetails (Optional code As String = Nothing, Optional message As String = Nothing, Optional param As String = Nothing, Optional type As String = Nothing, Optional eventId As String = Nothing) As VoiceLiveErrorDetails

Parameters

code
String

Error code, or null if unspecified.

message
String

Human-readable error message.

param
String

Parameter name related to the error, if applicable.

type
String

Type or category of the error.

eventId
String

Event id of the error.

Returns

A new VoiceLiveErrorDetails instance for mocking.

Applies to