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