Adds missing error class