aboutsummaryrefslogtreecommitdiff
path: root/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'error.go')
-rw-r--r--error.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/error.go b/error.go
new file mode 100644
index 0000000..c52a483
--- /dev/null
+++ b/error.go
@@ -0,0 +1,9 @@
+package sleepy
+
+type errorString struct {
+ s string
+}
+
+func (e *errorString) Error() string {
+ return e.s
+}
bgstack15