How to create 404 page for SSR single blog post?

Hi Priyanka,

It doesn't feel right that a getByUID call with an unexisting uid trigger a 'api_parsing_error' error.
I usually expect a null document or a better error :confused:

ParsingError: [function at(..)] unexpected field 'my.page.uid' on line:1 col:6 in query '[[at(my.page.uid, "guide")]]'
[[at(my.page.uid, "guide")]]
     ^

    at Client.fetch (file:///home/david/Works/OLYBe/website/node_modules/@prismicio/client/dist/index.js:557:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Client.getFirst (file:///home/david/Works/OLYBe/website/node_modules/@prismicio/client/dist/index.js:282:20)
    at async Client.getByUID (file:///home/david/Works/OLYBe/website/node_modules/@prismicio/client/dist/index.js:318:12)
    at async getStaticProps (/home/david/Works/OLYBe/website/.next/server/pages/[prismicUid].js:204:20)
    at async Object.renderToHTML (/home/david/Works/OLYBe/website/node_modules/next/dist/server/render.js:470:20)
    at async doRender (/home/david/Works/OLYBe/website/node_modules/next/dist/server/base-server.js:878:38)
    at async cacheEntry.responseCache.get.isManualRevalidate.isManualRevalidate (/home/david/Works/OLYBe/website/node_modules/next/dist/server/base-server.js:977:28)
    at async /home/david/Works/OLYBe/website/node_modules/next/dist/server/response-cache.js:72:36 {
  url: '[HIDDEN].prismic.io/api/v2/documents/search?q=%5B%5Bat%28document.type%2C+%22page%22%29%5D%5D&q=%5B%5Bat%28my.page.uid%2C+%22guide%22%29%5D%5D&ref=YlBVHxcAAGfZ1vpZ',
  response: {
    type: 'api_parsing_error',
    message: `[function at(..)] unexpected field 'my.page.uid' on line:1 col:6 in query '[[at(my.page.uid, "guide")]]'\n` +
      '[[at(my.page.uid, "guide")]]\n' +
      '     ^\n',
    pos: { line: 1, column: 6, id: 1, location: 'query' }
  }

Is-it plan to improve things about it? Thanks