Skip to main content

Interface: SerializedError

Defined in: shared/utils/logger/common.ts:34

Structured error payload for serialized Error instances.

Remarksโ€‹

Used to ensure consistent error logging shape across process boundaries.

Paramโ€‹

cause

Optional error cause when provided.

Paramโ€‹

message

Error message for display.

Paramโ€‹

name

Error name for identification.

Paramโ€‹

stack

Optional stack trace if available.

Indexableโ€‹

[key: string]: unknown
[key: symbol]: unknown

Propertiesโ€‹

cause?โ€‹

readonly optional cause?: unknown;

Defined in: shared/utils/logger/common.ts:38

Optional error cause when provided.


messageโ€‹

readonly message: string;

Defined in: shared/utils/logger/common.ts:40

Error message for display.


name?โ€‹

readonly optional name?: string;

Defined in: shared/utils/logger/common.ts:42

Error name for identification.


stack?โ€‹

readonly optional stack?: string;

Defined in: shared/utils/logger/common.ts:44

Optional stack trace if available.