rpc_system_app_set_error_text

Function rpc_system_app_set_error_text 

Source
pub unsafe extern "C" fn rpc_system_app_set_error_text(
    rpc_app: *mut RpcAppSystem,
    error_text: *const c_char,
)
Expand description

Set the error text stored in an RpcAppSystem instance.

The error text can be retrieved by the client at any time by using the GetError request. The text has no meaning within the subsystem, i.e. it is only passed through to the client.

ยงArguments

  • rpc_app (direction in, out) - pointer to the instance to be modified.
  • error_text (direction in) - Pointer to a zero-terminated string containing the error text.