feat: better auth error handling (#5403)

* add log

* add log

* Revert "add log"

This reverts commit 2412a3de5f58fa6937b33b8e9c13fc47756670df.

* add new minecraft auth error modal

* add other auth errors

* polish the styles

* update link text

* add unknown error state

* pnpm prepr

* fix link

* fix lint
This commit is contained in:
Truman Gao
2026-02-20 18:39:27 -07:00
committed by GitHub
parent 5b49af1fe8
commit bacc10d2f5
7 changed files with 309 additions and 0 deletions
@@ -33,6 +33,7 @@ const metadata = ref({})
defineExpose({
async show(errorVal, context, canClose = true, source = null) {
console.log(errorVal, context, canClose, source)
closable.value = canClose
if (errorVal.message && errorVal.message.includes('Minecraft authentication error:')) {