RevAIErrorData
Namespace: Vercel.AI.RevAI
public sealed class RevAIErrorDataParsed Rev.ai error object.
Inheritance: object
Constructors
Section titled “Constructors”RevAIErrorData(string, int)
Section titled “RevAIErrorData(string, int)”public RevAIErrorData(string message, int code)Creates parsed error data.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string | |
code |
int |
Properties
Section titled “Properties”public int Code { get; }Provider error code.
Value: int
Message
Section titled “Message”public string Message { get; }Provider message. Nested JSON is left as text.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product