Function: getElectronErrorCodeSuffix()
getElectronErrorCodeSuffix(
error:unknown):string
Defined in: electron/services/shell/openExternalUtils.ts:11
Produces a stable error-code suffix for errors thrown by Electron APIs.
Parameters
error
unknown
Returns
string
Remarks
Several Electron APIs include a code property (string) on their errors. We
centralize formatting to prevent drift across services.