Skip to content

PermissionDeniedException

Namespace: Vercel.AI.Provider

public sealed class PermissionDeniedException : ApiException, ISerializable

HTTP 403.

Inheritance: object → Exception → AiSdkException → ApiException

Implements: ISerializable

View source

PermissionDeniedException(string, string?)

Section titled “PermissionDeniedException(string, string?)”
public PermissionDeniedException(string message, string? responseBody)

Creates the exception.

Parameters

Name Type Description
message string
responseBody string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product