MDL-41063 Lesson qformat_default class is missing an error function