diff options
| author | 2015-04-27 09:11:23 +0200 | |
|---|---|---|
| committer | 2015-04-27 09:11:23 +0200 | |
| commit | 5c73a6cb13b8c301d0e60f916998c3e683a2b043 (patch) | |
| tree | 6115fd997abb2cd15f733a0e4f4ff719633fe191 /node/executionnode.cpp | |
| parent | a0ee95a348aa457a584e349f4f832e77c85d58a2 (diff) | |
| download | OneRoll-5c73a6cb13b8c301d0e60f916998c3e683a2b043.tar.gz OneRoll-5c73a6cb13b8c301d0e60f916998c3e683a2b043.zip | |
-management of runtime error
Diffstat (limited to 'node/executionnode.cpp')
| -rw-r--r-- | node/executionnode.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/node/executionnode.cpp b/node/executionnode.cpp index 0cb9c0b..dba56fc 100644 --- a/node/executionnode.cpp +++ b/node/executionnode.cpp @@ -32,8 +32,15 @@ ExecutionNode* ExecutionNode::getNextNode() { return m_nextNode; } -QList<ExecutionNode::ERROR_CODE> ExecutionNode::getErrorList() +QMap<ExecutionNode::ERROR_CODE,QString> ExecutionNode::getExecutionErrorMap() { + if(NULL!=m_nextNode) + { + foreach (ExecutionNode::ERROR_CODE key, m_nextNode->getExecutionErrorMap().keys()) + { + m_errors.insert(key,m_nextNode->getExecutionErrorMap().value(key)); + } + } return m_errors; } QString ExecutionNode::getHelp() |