Raises an error if credit it too low