RelationReorder.error_target: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/relation_reorder.bend as RelationReorder Lines 23-28 of bendvy-ecs-core@0.1.0.4/relation_reorder.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/relation_reorder.bend&start_line=23&end_line=28 import Base import entity_key.bend as Key import relation_types.bend as G def error_target(error:G.Error,parent:Key.Key) -> Key.Key: match error: case G.MissingChildEntity{_,child,_}: child case G.DuplicateChild{_,child,_}: child case G.ChildNotRelatedToParent{_,child,_}: child case _: parent Uses (2): https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/entity_key.bend&name=Key https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_types.bend&name=Error