Return more useful errors