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