DeepgramErrorParseResult
Namespace: Vercel.AI.Deepgram
public sealed class DeepgramErrorParseResultResult of parsing a Deepgram error body.
Inheritance: object
Constructors
Section titled “Constructors”DeepgramErrorParseResult(bool, DeepgramErrorData?)
Section titled “DeepgramErrorParseResult(bool, DeepgramErrorData?)”public DeepgramErrorParseResult(bool success, DeepgramErrorData? value)Creates a parse result.
Parameters
| Name | Type | Description |
|---|---|---|
success |
bool | |
value |
DeepgramErrorData |
Properties
Section titled “Properties”RawValue
Section titled “RawValue”public DeepgramErrorData? RawValue { get; }Same payload as Value.
Value: DeepgramErrorData
Success
Section titled “Success”public bool Success { get; }True when err_code and err_msg were present.
Value: bool
public DeepgramErrorData? Value { get; }Parsed error.
Value: DeepgramErrorData
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product