This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Event Assess API

test:submit:error

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

You would want to be notified about this event firing, because you might want to show a custom error message for the learner, for example.

Examples

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

Related articles

Was this article helpful?