Warnings created during evaluation of the node group are passed as warnings to the operator. This is done using the existing logging system, which we could also use to get socket inspection working in the future. See #101778 Pull Request: https://projects.blender.org/blender/blender/pulls/115237