//
// Created by Dan Crosby on 5/17/20.
//

#ifndef EAGLE0_ACTIONREQUIRESHEROEXCEPTION_HPP
#define EAGLE0_ACTIONREQUIRESHEROEXCEPTION_HPP

#include "src/main/cpp/net/eagle0/shardok/library/ShardokException.hpp"

namespace shardok {

class ActionRequiresHeroException : public ShardokException {
public:
    explicit ActionRequiresHeroException(const string& operation)
        : ShardokException("Operation " + operation + " requires a hero.") {}
};

}  // namespace shardok

#endif  // EAGLE0_ACTIONREQUIRESHEROEXCEPTION_HPP
