FoomtimeThrowError
Class: FoomtimeThrowError
Defined in: packages/microfoom-core/src/errors.ts:51
Raised ONLY by a deliberate foom_throw in a prompt. ALWAYS carries the
user-defined code from foom_throw (the caller's namespace, e.g. "123" /
"E_TOO_LOW"); it has no runtime meaning. Runtime-caught failures are
FoomtimeRepairExhaustedError, NOT this — they have no code.
Extends
Constructors
Constructor
new FoomtimeThrowError(
message,
code,
options?): FoomtimeThrowError;Defined in: packages/microfoom-core/src/errors.ts:53
Parameters
| Parameter | Type |
|---|---|
message | string |
code | string |
options? | FoomtimeErrorOptions |
Returns
FoomtimeThrowError
Overrides
Properties
cause?
optional cause?: unknown;Defined in: docs-website/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
code
readonly code: string;Defined in: packages/microfoom-core/src/errors.ts:52
data?
readonly optional data?: unknown;Defined in: packages/microfoom-core/src/errors.ts:37
Inherited from
message
message: string;Defined in: docs-website/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
name
name: string;Defined in: docs-website/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
stack?
optional stack?: string;Defined in: docs-website/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078
