source/main.tcl
Procedure Summary |
bgerror { msg } Background error handling procedure for the Master |
cleanup { } Prepare MikroConf server for shutdown/reload, cleaning up |
errorproc { threadId stacktrace } Custom errorproc to handle background errors arrising from asynchronous script executions between threads. |
exit { {code 0} {reason Unspecified} } True 'exit' |
Procedure Detail |
proc bgerror { msg }
msg
- The error message to display
proc cleanup { }
proc errorproc { threadId stacktrace }
threadId
- Thread Id.
stacktrace
- Error info.
proc exit { {code 0} {reason Unspecified} }
code
- exit code, defalts to 0.
reason
- The reason for MikroConf termination.