Add a fail method for useful errors.