probably propagated through publish_execution_error() :
// You can also use this method for publishing errors to the client, if the code
// failed to execute
// publish_execution_error(error_name, error_value, error_traceback);
publish_execution_error("TypeError", "123", {"!@#$", "*(*"});
Currently we only get the default R print of errors. The only benefit being that it's printed in stderr, i.e. in red background
But we could access more information if we set a
globalCallingHandlers()
something like:probably propagated through
publish_execution_error()
: