From 352e3b8a81a49071d1f79ece7cd6afd8eca9b5b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurica=20Bistrovi=C4=87?= Date: Mon, 28 Jun 2021 13:19:14 +0200 Subject: [PATCH] #4013: Add missing [LifecycleHooks.SERVER_PREFETCH] to ErrorTypeStrings --- 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 fedb0f83f01..2e961f36acc 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',