fix(runtime-core): add missing serverPrefetch hook error string (#4014)

This commit is contained in:
LordTerabyte 2021-06-28 21:30:20 +02:00 committed by GitHub
parent ef5c41523f
commit d069796b8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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',