Skip to main content

Interface: SerializedError

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

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

Optional error cause when provided.


messageโ€‹

readonly message: string

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

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

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

Optional stack trace if available.