When you submit the form in the shipping tab with an empty carrier or name, you have a PrestaShop Exception, you need to try and catch this action. 
When you submit the form in the shipping tab with an empty carrier or name, you have a PrestaShop Exception, you need to try and catch this action.