Skip to content

JsTypeError

Namespace: Vercel.AI.Provider

public class JsTypeError : JsError, ISerializable

JavaScript TypeError analog.

Inheritance: object → Exception → JsError

Implements: ISerializable

View source

public JsTypeError(string message)

Creates a type error.

Parameters

Name Type Description
message string

View source

public override string ErrorName { get; }

JavaScript error.name.

Value: string

View source

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