From: LordTerabyte <27423598+LordTerabyte@users.noreply.github.com> Date: Mon, 28 Jun 2021 19:30:20 +0000 (+0200) Subject: fix(runtime-core): add missing serverPrefetch hook error string (#4014) X-Git-Tag: v3.1.3~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d069796b8f0cf8df9aa77d781c4b5429b9411204;p=thirdparty%2Fvuejs%2Fcore.git fix(runtime-core): add missing serverPrefetch hook error string (#4014) --- diff --git a/packages/runtime-core/src/errorHandling.ts b/packages/runtime-core/src/errorHandling.ts index fedb0f83f0..2e961f36ac 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',