handling all the errors when while sending SMS