DeepgramErrorData
Namespace: Vercel.AI.Deepgram
public sealed class DeepgramErrorDataParsed Deepgram error body.
Inheritance: object
Constructors
Section titled “Constructors”DeepgramErrorData(string, string, string?)
Section titled “DeepgramErrorData(string, string, string?)”public DeepgramErrorData(string errCode, string errMsg, string? requestId)Creates parsed error data.
Parameters
| Name | Type | Description |
|---|---|---|
errCode |
string | |
errMsg |
string | |
requestId |
string |
Properties
Section titled “Properties”ErrCode
Section titled “ErrCode”public string ErrCode { get; }Error code, such as INVALID_AUTH.
Value: string
ErrMsg
Section titled “ErrMsg”public string ErrMsg { get; }Error message.
Value: string
RequestId
Section titled “RequestId”public string? RequestId { get; }Request id, when Deepgram sends one.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product