AuthenticationException
Namespace: Vercel.AI.Provider
public sealed class AuthenticationException : ApiException, ISerializableHTTP 401.
Inheritance: object → Exception → AiSdkException → ApiException
Implements: ISerializable
Constructors
Section titled “Constructors”AuthenticationException(string, string?)
Section titled “AuthenticationException(string, string?)”public AuthenticationException(string message, string? responseBody)Creates the exception.
Parameters
| Name | Type | Description |
|---|---|---|
message |
string | |
responseBody |
string |
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product