MissingCommand.hpp
1 #pragma once
2 #include <score/command/Command.hpp>
3 
4 #include <stdexcept>
5 
6 namespace score
7 {
13 class MissingCommandException : public std::runtime_error
14 {
15 public:
16  MissingCommandException(const CommandGroupKey& parent, const CommandKey& command)
17  : std::runtime_error{
18  ("Could not find " + command.toString() + " in " + parent.toString())}
19  {
20  }
21 };
22 }
The MissingCommandException class.
Definition: MissingCommand.hpp:14
Base toolkit upon which the software is built.
Definition: Application.cpp:90