Skip to content

Commit

Permalink
fix(runtime-core): add missing serverPrefetch hook error string (#4014)
Browse files Browse the repository at this point in the history
  • Loading branch information
beastrovich committed Jun 28, 2021
1 parent ef5c415 commit d069796
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/runtime-core/src/errorHandling.ts
Expand Up @@ -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',
Expand Down

0 comments on commit d069796

Please sign in to comment.