mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-06 15:47:36 +08:00
AquaNet: Added an Error Message trigger to pages that didn't telegraph to the user that there was an error before.
This commit is contained in:
12
AquaNet/src/ErrorMessage.svelte
Normal file
12
AquaNet/src/ErrorMessage.svelte
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
<script>
|
||||
export let ifError = `No Error was Passed through. Quick, check the Devtools and create a Ticket!`;
|
||||
</script>
|
||||
<blockquote>
|
||||
<h2 style="color:red;">Something's wrong, Please Try again Later.</h2>
|
||||
<p>Need to know why? Check Below.</p>
|
||||
<code>
|
||||
{ifError}
|
||||
</code>
|
||||
</blockquote>
|
||||
Reference in New Issue
Block a user