test.save.error - Events - Assess API

Assess API Events

test:save:error

Fires when there is an error saving the assessment. This will throw a 10004 error.

You would want to be notified about this event firing, because you may want to handle the error and inform the learner that saving has failed and they should try again, for example.

Examples

itemsApp.on('test:save:error', function () {
    console.log('This code executes when there is an error saving the assessment.');
});

Related articles

Was this article helpful?

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