メインコンテンツまでスキップ
バージョン: v2 Next 🚧

クラス: PromptTooLongError

定義: plugins/ai/src/errors.ts:73

入力が limits.maxPromptLength を超えていた。

拡張​

コンストラクター​

コンストラクター​

new PromptTooLongError(
message,
length,
max): PromptTooLongError;

定義: plugins/ai/src/errors.ts:74

パラメータ​

message​

string

length​

number

max​

number

戻り値​

PromptTooLongError

上書き​

AiError.constructor

プロパティ​

context​

readonly context: unknown;

定義: src/errors.ts:80

投げた側が添付する任意の追加データ。

継承元​

AiError.context


identifier​

readonly identifier: string;

定義: src/errors.ts:78

機械可読な識別子(Precondition 由来なら Precondition 名)。

継承元​

AiError.identifier