items.fetch.error - Events - Assess API

Assess API Events

items:fetch:error

Fires when a fetch action for a batch of Items failed when using the addItems public method.

You would want to be notified about this event firing so that you can respond to the error by showing a message to the learner or retrying the fetching action again, for example.

Examples

itemsApp.on('items:fetch:error', function () {
    console.log('This code executes when a fetch action for a batch of Items has failed.');
});

Related articles

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.