AiSdkException
Namespace: Vercel.AI.Provider
public class AiSdkException : Exception, ISerializableBase exception for the community .NET port of the Vercel AI SDK.
Inheritance: object → Exception
Implements: ISerializable
Derived: GatewayError, DownloadException, InvalidToolApprovalException, NoOutputGeneratedException, ToolCallNotFoundForApprovalException, ToolChoiceViolationException, TypeValidationException, MCPClientError, DecisionUnsupportedQuestionTypeException, DownloadException, InvalidArgumentException, InvalidResponseDataException, NoImageGeneratedException, NoSpeechGeneratedException, NoTranscriptGeneratedException, NoTranslationGeneratedException, NoVideoGeneratedException, OperationRetryException, RetryableCallException, UnsupportedFunctionalityException, UnsupportedModelVersionException, InvalidDataContentException, InvalidPromptException, ApiConnectionException, ApiException, MessageConversionException
Constructors
Section titled “Constructors”AiSdkException(string)
Section titled “AiSdkException(string)”public AiSdkException(string message)Creates an exception with a message.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string |
AiSdkException(string, Exception)
Section titled “AiSdkException(string, Exception)”public AiSdkException(string message, Exception innerException)Creates an exception with a message and an inner exception.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string | |
innerException |
Exception |
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product