set delegate method "failToRequestWithError:" to be optional