return structured errors from commands (wip)

This commit is contained in:
2022-12-23 11:34:17 -08:00
parent 2943634248
commit df6b362a31
8 changed files with 82 additions and 62 deletions

View File

@ -24,6 +24,7 @@
}
catch (e) {
error = e;
window.error = e;
}
}

View File

@ -19,10 +19,6 @@
onMount(async() => {
status = await invoke('get_session_status');
})
function blah() {
console.log('blah');
}
</script>
<h1 class="text-4xl text-gray-300">Creddy</h1>

View File

@ -24,6 +24,7 @@
}
catch (e) {
error = e;
window.error = e;
}
}
</script>