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:29


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:28


CorpusNotReady

CorpusNotReady = 2003

Defined in

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


FixieStatusNotOk

FixieStatusNotOk = 2004

Defined in

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


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


Llama2DoesNotSupportAssistantMessages

Llama2DoesNotSupportAssistantMessages = 1026

Defined in

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


Llama2DoesNotSupportFunctionCalls

Llama2DoesNotSupportFunctionCalls = 1027

Defined in

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


Llama2DoesNotSupportFunctionResponse

Llama2DoesNotSupportFunctionResponse = 1028

Defined in

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


Llama2DoesNotSupportFunctions

Llama2DoesNotSupportFunctions = 1024

Defined in

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


Llama2DoesNotSupportMultipleSystemMessages

Llama2DoesNotSupportMultipleSystemMessages = 1029

Defined in

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


Llama2DoesNotSupportMultipleUserMessages

Llama2DoesNotSupportMultipleUserMessages = 1025

Defined in

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


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:43


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:48


ModelOutputCouldNotBeParsedForTool

ModelOutputCouldNotBeParsedForTool = 2005

Defined in

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


ModelOutputDidNotMatchConstraint

ModelOutputDidNotMatchConstraint = 2000

Defined in

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


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


UnexpectedPartialRenderResult

UnexpectedPartialRenderResult = 1030

Defined in

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


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:42