return value
If there is no return value, an error will be thrown and an error message will be output. By () getLastErrMsg get an error message, via ) getLastError ( to get the error code. For error handling, please refer to the common error handling guide .
error
The error information is recorded in the node diagnosis log (diaglog), and you can refer to the error code .
Example
See the example description in rg.attachNode() .
Click on Jushan Database Documentation Center for more information