Save the error class