public static void SetException(this IGraphElementWithDebugData element, GraphPointer pointer, Exception ex)
        {
            if (!pointer.hasDebugData)
            {
                return;
            }

            var debugData = pointer.GetElementDebugData <IGraphElementDebugData>(element);

            debugData.runtimeException = ex;
        }
        public static Exception GetException(this IGraphElementWithDebugData element, GraphPointer pointer)
        {
            if (!pointer.hasDebugData)
            {
                return(null);
            }

            var debugData = pointer.GetElementDebugData <IGraphElementDebugData>(element);

            return(debugData.runtimeException);
        }