Included error message in TargetControllerErrorOccurred event
This commit is contained in:
@@ -12,7 +12,10 @@ namespace Bloom::Events
|
||||
static inline EventType type = EventType::TARGET_CONTROLLER_ERROR_OCCURRED;
|
||||
static inline const std::string name = "TargetControllerErrorOccurred";
|
||||
|
||||
std::string errorMessage;
|
||||
|
||||
TargetControllerErrorOccurred() = default;
|
||||
TargetControllerErrorOccurred(const std::string& errorMessage): errorMessage(errorMessage) {};
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return TargetControllerErrorOccurred::type;
|
||||
|
||||
Reference in New Issue
Block a user