Skip to main content

Interface: ErrorConversionResult

Defined in: shared/utils/errorHandling.ts:311

Type-safe error conversion result with enhanced type information.

Propertiesโ€‹

errorโ€‹

error: Error;

Defined in: shared/utils/errorHandling.ts:313

The resulting Error instance


originalTypeโ€‹

originalType: string;

Defined in: shared/utils/errorHandling.ts:315

The original input type information


wasErrorโ€‹

wasError: boolean;

Defined in: shared/utils/errorHandling.ts:317

Whether the input was already an Error instance