From d069796b8f0cf8df9aa77d781c4b5429b9411204 Mon Sep 17 00:00:00 2001 From: LordTerabyte <27423598+LordTerabyte@users.noreply.github.com> Date: Mon, 28 Jun 2021 21:30:20 +0200 Subject: [PATCH] fix(runtime-core): add missing serverPrefetch hook error string (#4014) --- packages/runtime-core/src/errorHandling.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/runtime-core/src/errorHandling.ts b/packages/runtime-core/src/errorHandling.ts index fedb0f83..2e961f36 100644 --- a/packages/runtime-core/src/errorHandling.ts +++ b/packages/runtime-core/src/errorHandling.ts @@ -24,6 +24,7 @@ export const enum ErrorCodes { } export const ErrorTypeStrings: Record = { + [LifecycleHooks.SERVER_PREFETCH]: 'serverPrefetch hook', [LifecycleHooks.BEFORE_CREATE]: 'beforeCreate hook', [LifecycleHooks.CREATED]: 'created hook', [LifecycleHooks.BEFORE_MOUNT]: 'beforeMount hook',