Typedef

ContextWatchdogItemErrorEvent (watchdog)

@ckeditor/ckeditor5-watchdog/src/contextwatchdog

typedefobject

Fired when a new error occurred in one of the added items.

watchdog.on( 'itemError', ( evt, { error, itemId } ) => {
	console.log( `An error occurred in an item with the '${ itemId }' ID.` );
} );

Filtering

Properties

  • args : tuple

  • name : 'itemError'

  • return : undefined

Fired by