VoiceLiveModelFactory.SessionUpdateErrorDetails Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Details of the error.
public static Azure.AI.VoiceLive.SessionUpdateErrorDetails SessionUpdateErrorDetails(string type = default, string code = default, string message = default, string param = default, string eventId = default);
static member SessionUpdateErrorDetails : string * string * string * string * string -> Azure.AI.VoiceLive.SessionUpdateErrorDetails
Public Shared Function SessionUpdateErrorDetails (Optional type As String = Nothing, Optional code As String = Nothing, Optional message As String = Nothing, Optional param As String = Nothing, Optional eventId As String = Nothing) As SessionUpdateErrorDetails
Parameters
- type
- String
The type of error (e.g., "invalid_request_error", "server_error").
- code
- String
Error code, if any.
- message
- String
A human-readable error message.
- param
- String
Parameter related to the error, if any.
- eventId
- String
The event_id of the client event that caused the error, if applicable.
Returns
A new SessionUpdateErrorDetails instance for mocking.