Return error when exhausted