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
- The
test:save
event, which fires when the assessment has begun saving. - The
test:save:success
event, which fires when the assessment is successfully saved.