func (e Error) Error() string { return fmt.Sprintf( "[%s] %s", e.descr, C.GoString(C.GSM_ErrorString(C.GSM_Error(e.g))), ) }
func (e EncodeError) Error() string { return fmt.Sprintf( "[EncodeMultiPartSMS] %s", C.GoString(C.GSM_ErrorString(C.GSM_Error(e.g))), ) }
// Returns error message string func errorString(e int) string { return C.GoString(C.GSM_ErrorString(C.GSM_Error(e))) }