From 15c9b9308d353d558f7c4fc2fe03012afc84be40 Mon Sep 17 00:00:00 2001 From: Aria Date: Fri, 3 Feb 2023 15:48:00 +0000 Subject: better error handling --- main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index c4cb4f2..4bee772 100644 --- a/main.go +++ b/main.go @@ -14,6 +14,8 @@ type item struct { contents string } +type fatalErrorMsg error + func (i item) Title() string { return i.title } func (i item) Description() string { return i.contents } func (i item) FilterValue() string { return i.title } -- cgit v1.2.3