| 6 | namespace obe::Bindings::Exceptions |
| 7 | { |
| 8 | class BindingTreeNodeNotFound : public Exception |
| 9 | { |
| 10 | public: |
| 11 | BindingTreeNodeNotFound(std::string_view id, std::string_view childId, |
| 12 | std::vector<std::string> children, DebugInfo info) |
| 13 | : Exception("BindingTreeNodeNotFound", info) |
| 14 | { |
| 15 | this->error( |
| 16 | "BindingTree node '{}' could not find a child with id '{}'", id, childId); |
| 17 | this->hint("BindingTree Node '{}' contains the following children ({})", id, |
| 18 | fmt::join(children, ", ")); |
| 19 | } |
| 20 | }; |
| 21 | } |