Skip to main content

Interface: SerializedError

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

Structured error payload for serialized https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error instances.

Remarksโ€‹

Used to ensure consistent error logging shape across process boundaries.

Paramโ€‹

Optional error cause when provided.

Paramโ€‹

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error message for display.

Paramโ€‹

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error name for identification.

Paramโ€‹

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:35

Optional error cause when provided.


messageโ€‹

readonly message: string

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

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error message for display.


name?โ€‹

readonly optional name?: string

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

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error name for identification.


stack?โ€‹

readonly optional stack?: string

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

Optional stack trace if available.