code: protected function resourceExists(string $type, string $id, string $path = '/data'): void
      {
          $this->errors->add($this->translator->resourceExists($type, $id, $path));
      }
docs: Add an error for when a resource already exists.
  
  @param string $type
  @param string $id
  @param string $path
  @return void