Skip to content

DeepgramErrorData

Namespace: Vercel.AI.Deepgram

public sealed class DeepgramErrorData

Parsed Deepgram error body.

Inheritance: object

View source

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

View source

public string ErrCode { get; }

Error code, such as INVALID_AUTH.

Value: string

View source

public string ErrMsg { get; }

Error message.

Value: string

View source

public string? RequestId { get; }

Request id, when Deepgram sends one.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product