Skip to content

EvaluationUnsupportedQuestionTypeError

Namespace: Vercel.AI.Util

[Obsolete("Use DecisionUnsupportedQuestionTypeError instead.")]
public sealed class EvaluationUnsupportedQuestionTypeError : DecisionUnsupportedQuestionTypeError, ISerializable, IErrorMarkers

Deprecated alias of DecisionUnsupportedQuestionTypeError. It carries the decision error marker.

Inheritance: object → Exception → AiSdkError → DecisionUnsupportedQuestionTypeError

Implements: ISerializable, IErrorMarkers

View source

EvaluationUnsupportedQuestionTypeError(string, string, string, string, string?)

Section titled “EvaluationUnsupportedQuestionTypeError(string, string, string, string, string?)”
public EvaluationUnsupportedQuestionTypeError(string questionId, string questionType, string provider, string modelId, string? message = null)

Creates the error for the unsupported question.

Parameters

Name Type Description
questionId string
questionType string
provider string
modelId string
message string

View source

public const string ErrorMarker = "vercel.ai.error.AI_DecisionUnsupportedQuestionTypeError"

Marker. It equals ErrorMarker.

Value: string

View source

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