diff --git a/src/query/v2/exceptions.hpp b/src/query/v2/exceptions.hpp index 959672eae..e0802a6cc 100644 --- a/src/query/v2/exceptions.hpp +++ b/src/query/v2/exceptions.hpp @@ -224,12 +224,4 @@ class VersionInfoInMulticommandTxException : public QueryException { : QueryException("Version info query not allowed in multicommand transactions.") {} }; -/** - * An exception for an illegal operation that violates schema - */ -class SchemaViolationException : public QueryRuntimeException { - public: - using QueryRuntimeException::QueryRuntimeException; -}; - } // namespace memgraph::query::v2