Skip to content

Commit d069796

Browse files
authored
fix(runtime-core): add missing serverPrefetch hook error string (#4014)
1 parent ef5c415 commit d069796

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)