Skip to content

ElectronApp.on('continue-activity-error') method

ElectronApp › on(‘continue-activity-error’)

Unofficial

Registers a listener for the continue-activity-error event.

Emitted during Handoff when an activity from a different device fails to be resumed. macOS only.

Signature:

on(event: "continue-activity-error", listener: (event: ElectronEvent, type: string, error: string) => void): this

Parameters:

ParameterTypeDescription
event"continue-activity-error"The event name.
listener(event: ElectronEvent, type: string, error: string) => voidThe event handler.

Returns: thisThis ElectronApp instance.