custom error class is not needed