Add failWithError option.