Skip to main content

Enumeration: ErrorCode

core/errors.ErrorCode

Enumeration Members

AIJSXEndpointFailed

AIJSXEndpointFailed = 1013

Defined in

packages/ai-jsx/src/core/errors.ts:18


AIJSXEndpointHadEmptyResponse

AIJSXEndpointHadEmptyResponse = 1014

Defined in

packages/ai-jsx/src/core/errors.ts:19


AnthropicAPIError

AnthropicAPIError = 1021

Defined in

packages/ai-jsx/src/core/errors.ts:26


AnthropicDoesNotSupportCompletionModels

AnthropicDoesNotSupportCompletionModels = 1018

Defined in

packages/ai-jsx/src/core/errors.ts:23


AnthropicDoesNotSupportFunctions

AnthropicDoesNotSupportFunctions = 1020

Defined in

packages/ai-jsx/src/core/errors.ts:25


AnthropicDoesNotSupportSystemMessage

AnthropicDoesNotSupportSystemMessage = 1019

Defined in

packages/ai-jsx/src/core/errors.ts:24


ChatCompletionBadInput

ChatCompletionBadInput = 1023

Defined in

packages/ai-jsx/src/core/errors.ts:28


ChatCompletionMissingChildren

ChatCompletionMissingChildren = 1009

Defined in

packages/ai-jsx/src/core/errors.ts:14


ChatCompletionUnexpectedChild

ChatCompletionUnexpectedChild = 1010

Defined in

packages/ai-jsx/src/core/errors.ts:15


ChatModelDoesNotSupportFunctions

ChatModelDoesNotSupportFunctions = 1022

Defined in

packages/ai-jsx/src/core/errors.ts:27


CorpusNotReady

CorpusNotReady = 2003

Defined in

packages/ai-jsx/src/core/errors.ts:34


FixieStatusNotOk

FixieStatusNotOk = 2004

Defined in

packages/ai-jsx/src/core/errors.ts:35


GeneratorCannotBeUsedAsIterableAfterAwaiting

GeneratorCannotBeUsedAsIterableAfterAwaiting = 1006

Defined in

packages/ai-jsx/src/core/errors.ts:11


GeneratorCannotBeUsedTwice

GeneratorCannotBeUsedTwice = 1005

Defined in

packages/ai-jsx/src/core/errors.ts:10


GeneratorMustBeExhausted

GeneratorMustBeExhausted = 1004

Defined in

packages/ai-jsx/src/core/errors.ts:9


ImageBadDimensions

ImageBadDimensions = 1011

Defined in

packages/ai-jsx/src/core/errors.ts:16


LogitBiasBadInput

LogitBiasBadInput = 1008

Defined in

packages/ai-jsx/src/core/errors.ts:13


MissingChatModel

MissingChatModel = 1001

Defined in

packages/ai-jsx/src/core/errors.ts:6


MissingCompletionModel

MissingCompletionModel = 1000

Defined in

packages/ai-jsx/src/core/errors.ts:5


MissingFixieAPIKey

MissingFixieAPIKey = 2002

Defined in

packages/ai-jsx/src/core/errors.ts:33


MissingImageModel

MissingImageModel = 1002

Defined in

packages/ai-jsx/src/core/errors.ts:7


ModelHallucinatedTool

ModelHallucinatedTool = 2006

Defined in

packages/ai-jsx/src/core/errors.ts:38


ModelOutputCouldNotBeParsedForTool

ModelOutputCouldNotBeParsedForTool = 2005

Defined in

packages/ai-jsx/src/core/errors.ts:37


ModelOutputDidNotMatchConstraint

ModelOutputDidNotMatchConstraint = 2000

Defined in

packages/ai-jsx/src/core/errors.ts:30


ModelOutputDidNotMatchUIShape

ModelOutputDidNotMatchUIShape = 1012

Defined in

packages/ai-jsx/src/core/errors.ts:17


NestedAIUIStreamsAreNotSupported

NestedAIUIStreamsAreNotSupported = 1015

Defined in

packages/ai-jsx/src/core/errors.ts:20


UnexpectedRenderType

UnexpectedRenderType = 1007

Defined in

packages/ai-jsx/src/core/errors.ts:12


UnknownSerializedComponentType

UnknownSerializedComponentType = 1017

Defined in

packages/ai-jsx/src/core/errors.ts:22


UnknownUIComponentId

UnknownUIComponentId = 1016

Defined in

packages/ai-jsx/src/core/errors.ts:21


UnrenderableType

UnrenderableType = 1003

Defined in

packages/ai-jsx/src/core/errors.ts:8


UnsupportedMimeType

UnsupportedMimeType = 2001

Defined in

packages/ai-jsx/src/core/errors.ts:32