Skip to content

@celox-sim/celox / index / Report

Interface: Report ​

Defined in: packages/celox/src/types.ts:252

What a severity task ($info, $warning, $error, $fatal) reports. message holds the formatted bytes; decode them explicitly when the design emits text.

Properties ​

assertion? ​

optional assertion?: AssertionSite

Defined in: packages/celox/src/types.ts:263


file? ​

optional file?: string

Defined in: packages/celox/src/types.ts:261

The file and line of the task call.


kind ​

kind: "report"

Defined in: packages/celox/src/types.ts:253


line? ​

optional line?: number

Defined in: packages/celox/src/types.ts:262


message ​

message: Uint8Array

Defined in: packages/celox/src/types.ts:255


scope? ​

optional scope?: string

Defined in: packages/celox/src/types.ts:259

The hierarchical name of the scope that issued the report.


severity ​

severity: Severity

Defined in: packages/celox/src/types.ts:254


time? ​

optional time?: number

Defined in: packages/celox/src/types.ts:257

The simulation time, when it is known (see Simulation.setFailOn).