Skip to content

bodhi-realtime-agent / FrameworkError

Class: FrameworkError ​

Defined in: src/core/errors.ts:9

Base error class for all framework errors. Carries a component tag and severity level for structured error handling. Supports cause chaining via the standard cause property.

Extends ​

  • Error

Extended by ​

Constructors ​

Constructor ​

new FrameworkError(message, options): FrameworkError

Defined in: src/core/errors.ts:14

Parameters ​

message ​

string

options ​
cause? ​

Error

component ​

string

severity? ​

ErrorSeverity

Returns ​

FrameworkError

Overrides ​

Error.constructor

Properties ​

cause? ​

readonly optional cause?: Error

Defined in: src/core/errors.ts:12

Overrides ​

Error.cause


component ​

readonly component: string

Defined in: src/core/errors.ts:10


severity ​

readonly severity: ErrorSeverity

Defined in: src/core/errors.ts:11

Built with VitePress