more explicit message when rasing error