|  Developer
Updated on November 24, 2021

hub.extensions.plugin.run.progress

  • Sends information about the progress and result of a running plugin script.
Edit
Field Type Required Description
completed int + Progress of the operation
error object Describes any errors that occurred. ‘null’ if there are no errors.
operationId string + Identifies the message.
status enum + Result of the operation. Can be or .
Edit
Code Message Data Reason (optional)
Status of lua interpreter
Edit
Edit
Successful execution of plugin script
				
					{
    "id": "ui_broadcast",
    "msg_subclass": "hub.extensions.plugin.run.progress",
    "result": {
        "operationId": "_ID_",
        "completed": 100,
        "error": null,
        "status": "finished"
    }
}				
			
Edit
Failed execution of plugin script
				
					{
    "id": "ui_broadcast",
    "msg_subclass": "hub.extensions.plugin.run.progress",
    "result": {
        "operationId": "_ID_",
        "completed": 0,
        "error": {
            "code": -32603,
            "data": "ezlo.lua.script.error",
            "message": "Script error",
            "reason": "basic_string::_M_construct null not valid"
        },
        "status": "failed"
    }
}