Skip to content

Commit

Permalink
Translate error code reference (#68)
Browse files Browse the repository at this point in the history
* Translate error code reference
  • Loading branch information
thecode00 authored Jul 30, 2024
1 parent 7b34765 commit 309712f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/error-reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ onMounted(() => {
})
</script>

# Production Error Code Reference {#error-reference}
# ν”„λ‘œλ•μ…˜ μ—λŸ¬ μ½”λ“œ μ°Έμ‘° {#error-reference}

## Runtime Errors {#runtime-errors}
## λŸ°νƒ€μž„ μ—λŸ¬ {#runtime-errors}

In production builds, the 3rd argument passed to the following error handler APIs will be a short code instead of the full information string:
ν”„λ‘œλ•μ…˜ λΉŒλ“œμ—μ„œλŠ” μ—λŸ¬ ν•Έλ“€λŸ¬ API의 μ„Έ 번째 μΈμžμ— 전체 정보 λ¬Έμžμ—΄ λŒ€μ‹  짧은 μ½”λ“œκ°€ μ „λ‹¬λ©λ‹ˆλ‹€.

- [`app.config.errorHandler`](/api/application#app-config-errorhandler)
- [`onErrorCaptured`](/api/composition-api-lifecycle#onerrorcaptured) (Composition API)
- [`errorCaptured`](/api/options-lifecycle#errorcaptured) (Options API)

The following table maps the codes to their original full information strings.
λ‹€μŒ ν‘œλŠ” μ½”λ“œμ™€ μ›λž˜μ˜ 전체 정보 λ¬Έμžμ—΄μ„ λ§€ν•‘ν•©λ‹ˆλ‹€.

<ErrorsTable kind="runtime" :errors="data.runtime" :highlight="highlight" />

## Compiler Errors {#compiler-errors}
## 컴파일러 μ—λŸ¬ {#compiler-errors}

The following table provides a mapping of the production compiler error codes to their original messages.
λ‹€μŒ ν‘œλŠ” ν”„λ‘œλ•μ…˜ 컴파일러 였λ₯˜ μ½”λ“œμ™€ λ©”μ‹œμ§€ κ°„μ˜ 맀핑을 μ œκ³΅ν•©λ‹ˆλ‹€.

<ErrorsTable kind="compiler" :errors="data.compiler" :highlight="highlight" />

0 comments on commit 309712f

Please sign in to comment.