public function __construct(BaseNode $parentNode, $nodeName)
 {
     parent::__construct(sprintf('Child node "%s" is not an array node (current path: "%s")', $nodeName, $parentNode->getPath()));
 }
 public function __construct(NodeInterface $parentNode, $childNodeName)
 {
     parent::__construct(sprintf('Undefined child node "%s" (the part of the path that was successful: "%s")', $childNodeName, $parentNode->getPath()));
 }