| 122 | }; |
| 123 | |
| 124 | class TriggerGroupNotJoinable : public Exception |
| 125 | { |
| 126 | public: |
| 127 | TriggerGroupNotJoinable(std::string_view triggerNamespace, |
| 128 | std::string_view triggerGroup, DebugInfo info) |
| 129 | : Exception("TriggerGroupNotJoinable", info) |
| 130 | { |
| 131 | this->error("Impossible to join TriggerGroup '{}' inside TriggerNamespace " |
| 132 | "'{}' as it is defined as non-joinable", |
| 133 | triggerGroup, triggerNamespace); |
| 134 | this->hint("If you want this TriggerGroup to be able to be joined, use " |
| 135 | "group.setJoinable(true) from its manager"); |
| 136 | } |
| 137 | }; |
| 138 | } |