diff options
| author | citrons <citrons@mondecitronne.com> | 2025-01-26 01:56:53 -0600 |
|---|---|---|
| committer | citrons <citrons@mondecitronne.com> | 2025-01-26 01:56:53 -0600 |
| commit | 10b8a79389e7073f6bd65695c3d05c77b825bc33 (patch) | |
| tree | b7e6dbd84b5b2c960ab8aafc1f99c3950d679e44 /proto/fail.go | |
initial commit
Diffstat (limited to 'proto/fail.go')
| -rw-r--r-- | proto/fail.go | 11 |
1 files changed, 11 insertions, 0 deletions
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 +} |
