Declare error outside of the if/else so we can use it in both conditions.
Declare error outside of the if/else so we can use it in both conditions.

MobileXLabs/ios-picker,danielzev/ios-picker,yamill/ios-picker,yamill/ios-picker,Ink/ios-picker,mobilejohnw/ios-picker,danielzev/ios-picker,mobilejohnw/ios-picker,MobileXLabs/ios-picker