I have a case where i am hitting submit_sm and in order to handle errors, i want a way to check what errors i can get and is there a way to custom handle them?
while doing conn.submit(p). where p is pdu.submitSm and conn is connection object i want to check error.
err:=conn.submitSm(p) if err!=nil{ errros.Is(err,""){ //check further what errors and what can be handled. } }
i see gosmpp.PDUErrorCallback , is there any example i can get which would be helpful? Do we receive submission related failure on
I have a case where i am hitting submit_sm and in order to handle errors, i want a way to check what errors i can get and is there a way to custom handle them?
while doing
conn.submit(p). where p is pdu.submitSm and conn is connection object i want to check error
.err:=conn.submitSm(p) if err!=nil{ errros.Is(err,""){ //check further what errors and what can be handled. } }
i see
gosmpp.PDUErrorCallback
, is there any example i can get which would be helpful? Do we receive submission related failure onin go smpp settings??