code: public function resourceDoesNotExist(string $path): ErrorInterface
      {
          return new Error(
              null,
              null,
              Response::HTTP_NOT_FOUND,
              $this->trans('resource_not_found', 'code'),
              $this->trans('resource_not_found', 'title'),
              $this->trans('resource_not_found', 'detail'),
              $this->pointer($path)
          );
      }
docs: Create an error for a resource identifier that does not exist.
  
  @param string $path
  @return ErrorInterface