Updated the error handling based on the PR feedback
Updated the error handling based on the PR feedback

mdhaber/scipy,lhilt/scipy,WarrenWeckesser/scipy,e-q/scipy,vigna/scipy,perimosocordiae/scipy,Eric89GXL/scipy,jamestwebber/scipy,endolith/scipy,andyfaff/scipy,lhilt/scipy,jor-/scipy,aarchiba/scipy,arokem/scipy,Eric89GXL/scipy,gertingold/scipy,rgommers/scipy,lhilt/scipy,scipy/scipy,WarrenWeckesser/scipy,matthew-brett/scipy,pizzathief/scipy,zerothi/scipy,Stefan-Endres/scipy,e-q/scipy,person142/scipy,perimosocordiae/scipy,zerothi/scipy,nmayorov/scipy,WarrenWeckesser/scipy,grlee77/scipy,mdhaber/scipy,person142/scipy,ilayn/scipy,jor-/scipy,anntzer/scipy,Stefan-Endres/scipy,perimosocordiae/scipy,vigna/scipy,pizzathief/scipy,nmayorov/scipy,andyfaff/scipy,aeklant/scipy,scipy/scipy,WarrenWeckesser/scipy,tylerjereddy/scipy,mdhaber/scipy,matthew-brett/scipy,Eric89GXL/scipy,aeklant/scipy,zerothi/scipy,vigna/scipy,perimosocordiae/scipy,endolith/scipy,andyfaff/scipy,rgommers/scipy,arokem/scipy,person142/scipy,tylerjereddy/scipy,andyfaff/scipy,e-q/scipy,aeklant/scipy,grlee77/scipy,zerothi/scipy,jamestwebber/scipy,arokem/scipy,aarchiba/scipy,Stefan-Endres/scipy,anntzer/scipy,nmayorov/scipy,Stefan-Endres/scipy,perimosocordiae/scipy,andyfaff/scipy,anntzer/scipy,ilayn/scipy,ilayn/scipy,anntzer/scipy,gertingold/scipy,gertingold/scipy,tylerjereddy/scipy,endolith/scipy,scipy/scipy,nmayorov/scipy,scipy/scipy,matthew-brett/scipy,perimosocordiae/scipy,vigna/scipy,person142/scipy,mdhaber/scipy,gertingold/scipy,ilayn/scipy,endolith/scipy,person142/scipy,pizzathief/scipy,rgommers/scipy,lhilt/scipy,e-q/scipy,vigna/scipy,ilayn/scipy,aarchiba/scipy,e-q/scipy,Stefan-Endres/scipy,endolith/scipy,rgommers/scipy,Eric89GXL/scipy,WarrenWeckesser/scipy,lhilt/scipy,anntzer/scipy,zerothi/scipy,scipy/scipy,pizzathief/scipy,mdhaber/scipy,nmayorov/scipy,gertingold/scipy,ilayn/scipy,jor-/scipy,aarchiba/scipy,aarchiba/scipy,mdhaber/scipy,jor-/scipy,matthew-brett/scipy,aeklant/scipy,jamestwebber/scipy,aeklant/scipy,Eric89GXL/scipy,jor-/scipy,scipy/scipy,matthew-brett/scipy,tylerjereddy/scipy,jamestwebber/scipy,WarrenWeckesser/scipy,grlee77/scipy,pizzathief/scipy,andyfaff/scipy,jamestwebber/scipy,anntzer/scipy,arokem/scipy,rgommers/scipy,grlee77/scipy,endolith/scipy,Eric89GXL/scipy,tylerjereddy/scipy,Stefan-Endres/scipy,zerothi/scipy,grlee77/scipy,arokem/scipy