Skip to main content

Interface: SerializedError

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

Shared logging helpers used across renderer and main processes.

Remarksโ€‹

Centralizes message formatting and error serialization to ensure consistent log output regardless of execution environment.

Propertiesโ€‹

cause?โ€‹

readonly optional cause: unknown

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

Optional error cause when provided.


messageโ€‹

readonly message: string

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

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

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

Optional stack trace if available.