Skip to content

Commit 352e3b8

Browse files
author
Jurica Bistrović
committed
vuejs#4013: Add missing [LifecycleHooks.SERVER_PREFETCH] to ErrorTypeStrings
1 parent ef5c415 commit 352e3b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/runtime-core/src/errorHandling.ts

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const enum ErrorCodes {
2424
}
2525

2626
export const ErrorTypeStrings: Record<number | string, string> = {
27+
[LifecycleHooks.SERVER_PREFETCH]: 'serverPrefetch hook',
2728
[LifecycleHooks.BEFORE_CREATE]: 'beforeCreate hook',
2829
[LifecycleHooks.CREATED]: 'created hook',
2930
[LifecycleHooks.BEFORE_MOUNT]: 'beforeMount hook',

0 commit comments

Comments
 (0)