1#ifndef BUSINESS_LOGIC_LOGIC_ERRORS_GRAPH_CYCLE_EXCEPTION_H
2#define BUSINESS_LOGIC_LOGIC_ERRORS_GRAPH_CYCLE_EXCEPTION_H
5#include <unordered_set>
19 const std::unordered_set<business_logic::elements::structures::BlocksConnectionSide>&
37 const
std::unordered_set<
business_logic::elements::structures::BlocksConnectionSide>&
43 std::unordered_set<business_logic::elements::structures::BlocksConnectionSide>
cyclePath;
Exception thrown when a graph cycle is detected.
std::unordered_set< business_logic::elements::structures::BlocksConnectionSide > cyclePath
const std::unordered_set< business_logic::elements::structures::BlocksConnectionSide > & getCyclePath() const
Gets the cycle path.
~GraphCycleException() noexcept override=default
GraphCycleException(const std::unordered_set< business_logic::elements::structures::BlocksConnectionSide > &cyclePath)
The business logic module.