public BaseSliderView error(int resId){
        mErrorPlaceHolderRes = resId;
        return this;
    }
if you set errorDisappear false, this will set a error placeholder image.
@param resId image resource id
@return
library/src/main/java/com/daimajia/slider/library/SliderTypes/BaseSliderView.java