lib/neo4j/active_rel.rb in neo4j-6.1.12 vs lib/neo4j/active_rel.rb in neo4j-7.0.0.rc.1

- old
+ new

@@ -15,11 +15,12 @@ include Neo4j::ActiveRel::Persistence include Neo4j::ActiveRel::Validations include Neo4j::ActiveRel::Callbacks include Neo4j::ActiveRel::Query include Neo4j::ActiveRel::Types + include Neo4j::Shared::Enum - class FrozenRelError < StandardError; end + class FrozenRelError < Neo4j::Error; end def initialize(from_node = nil, to_node = nil, args = nil) load_nodes(node_or_nil(from_node), node_or_nil(to_node)) resolved_args = hash_or_nil(from_node, args) symbol_args = resolved_args.is_a?(Hash) ? resolved_args.symbolize_keys : resolved_args