WatchdogErrorEvent

Api-typedef icon typedef

Fired when a new CKEditorError error connected to the watchdog instance occurs and the watchdog will react to it.

watchdog.on( 'error', ( evt, { error, causesRestart } ) => {
	console.log( 'An error occurred.' );
} );
Copy code

Properties

  • args : tuple

  • name : 'error'

Fired by