Skip to main content

Interface: ErrorConversionResult

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

Type-safe error conversion result with enhanced type information.

Propertiesโ€‹

errorโ€‹

error: Error

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

The resulting https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error instance


originalTypeโ€‹

originalType: string

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

The original input type information


wasErrorโ€‹

wasError: boolean

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

Whether the input was already an https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error instance