From 10b8a79389e7073f6bd65695c3d05c77b825bc33 Mon Sep 17 00:00:00 2001 From: citrons Date: Sun, 26 Jan 2025 01:56:53 -0600 Subject: initial commit --- proto/fail.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 proto/fail.go (limited to 'proto/fail.go') diff --git a/proto/fail.go b/proto/fail.go new file mode 100644 index 0000000..0b6366b --- /dev/null +++ b/proto/fail.go @@ -0,0 +1,11 @@ +package proto + +type Fail Object + +func (f Fail) Cmd() Command { + return NewCmd("fail", "", Object(f)) +} + +func (f Fail) Error() string { + return f.Kind +} -- cgit v1.2.3