Shipping module unable to register an error

Shipping module unable to register an error on checkout_shipping header