src/Validation/Spec/AbstractValidator.php
protected function resourceDoesNotExist(string $path): void
    {
        $this->errors->add($this->translator->resourceDoesNotExist($path));
    }
protected function resourceDoesNotExist(string $path): void
    {
        $this->errors->add($this->translator->resourceDoesNotExist($path));
    }
Add an error for when a resource identifier does not exist.

@param string $path
@return void