aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lustre.gleam
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2023-08-19 23:02:22 +0100
committerHayleigh Thompson <me@hayleigh.dev>2023-08-19 23:02:22 +0100
commit8ddc115f92368a29ef710977f3a377ad4d854c48 (patch)
treed12617e4bf50538539d4cd1afedbfdfa47628471 /lib/src/lustre.gleam
parent37564e471b81247412fa837d1729ac0ca6d7a846 (diff)
downloadlustre-8ddc115f92368a29ef710977f3a377ad4d854c48.tar.gz
lustre-8ddc115f92368a29ef710977f3a377ad4d854c48.zip
:sparkles: Add additional errors for other cases.
Diffstat (limited to 'lib/src/lustre.gleam')
-rw-r--r--lib/src/lustre.gleam2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/src/lustre.gleam b/lib/src/lustre.gleam
index dcfe76a..ec04f3e 100644
--- a/lib/src/lustre.gleam
+++ b/lib/src/lustre.gleam
@@ -50,6 +50,8 @@ import lustre/element.{Element}
pub type App(flags, model, msg)
pub type Error {
+ AppAlreadyStarted
+ AppNotYetStarted
ComponentAlreadyRegistered
ElementNotFound
NotABrowser