After vue 2.6 was released and serverPrefetch hook was introduces I lost a possibility to update httpCode during SSR if there was a data fetching failure.
Provide access to context from the serverPrefetch hook.
We should probably provide context as the first argument. In the meanwhile you can use this.$ssrContext.
Most helpful comment
We should probably provide
contextas the first argument. In the meanwhile you can usethis.$ssrContext.