ApiConnectionException
Namespace: Vercel.AI.Provider
public class ApiConnectionException : AiSdkException, ISerializableThe connection to the provider failed.
Inheritance: object → Exception → AiSdkException
Implements: ISerializable
Derived: ApiTimeoutException
Constructors
Section titled “Constructors”ApiConnectionException(string, Exception?)
Section titled “ApiConnectionException(string, Exception?)”public ApiConnectionException(string message, Exception? innerException = null)Creates the exception.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string | |
innerException |
Exception |
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product