Update Smsit.class.php

Better version

Is there a way to get the result error code to frontend ?