error class for bard-basic