| 107 | }; |
| 108 | |
| 109 | class TriggerGroupAlreadyExists : public Exception |
| 110 | { |
| 111 | public: |
| 112 | TriggerGroupAlreadyExists(std::string_view triggerNamespace, |
| 113 | std::string_view triggerGroup, DebugInfo info) |
| 114 | : Exception("TriggerGroupAlreadyExists", info) |
| 115 | { |
| 116 | this->error( |
| 117 | "A TriggerGroup named '{}' already exists inside TriggerNamespace '{}'", |
| 118 | triggerGroup, triggerNamespace); |
| 119 | this->hint("Try creating a TriggerGroup with a different name that is " |
| 120 | "not already taken"); |
| 121 | } |
| 122 | }; |
| 123 | |
| 124 | class TriggerGroupNotJoinable : public Exception |
| 125 | { |