Skip to content

NamedException

Namespace: Vercel.AI.ProviderUtils

public sealed class NamedException : Exception, ISerializable

An exception identified by a name such as AbortError or ResponseAborted.

Inheritance: object → Exception

Implements: ISerializable

View source

public NamedException(string name, string message)

Creates a named exception.

Parameters

Name Type Description
name string
message string

View source

public string Name { get; }

Error name.

Value: string

View source

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