]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(runtime-core): add missing serverPrefetch hook error string (#4014)
authorLordTerabyte <27423598+LordTerabyte@users.noreply.github.com>
Mon, 28 Jun 2021 19:30:20 +0000 (21:30 +0200)
committerGitHub <noreply@github.com>
Mon, 28 Jun 2021 19:30:20 +0000 (15:30 -0400)
packages/runtime-core/src/errorHandling.ts

index fedb0f83f01f5a84659eb3c915db5dd2c9e31a7f..2e961f36acca5b766c108b5cd93e10d9eae6ba41 100644 (file)
@@ -24,6 +24,7 @@ export const enum ErrorCodes {
 }
 
 export const ErrorTypeStrings: Record<number | string, string> = {
+  [LifecycleHooks.SERVER_PREFETCH]: 'serverPrefetch hook',
   [LifecycleHooks.BEFORE_CREATE]: 'beforeCreate hook',
   [LifecycleHooks.CREATED]: 'created hook',
   [LifecycleHooks.BEFORE_MOUNT]: 'beforeMount hook',