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)
        );
    }