Skip to content

InternalServerException

Namespace: Vercel.AI.Provider

public sealed class InternalServerException : ApiException, ISerializable

HTTP 500-599.

Inheritance: object → Exception → AiSdkException → ApiException

Implements: ISerializable

View source

InternalServerException(string, int, string?)

Section titled “InternalServerException(string, int, string?)”
public InternalServerException(string message, int statusCode, string? responseBody)

Creates the exception.

Parameters

Name Type Description
message string
statusCode int
responseBody string

View source

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