aboutsummaryrefslogtreecommitdiff
path: root/error.go
diff options
context:
space:
mode:
authorDoug Black <dblack@twilio.com>2014-01-27 10:41:28 -0500
committerDoug Black <dblack@twilio.com>2014-01-27 10:41:28 -0500
commit0a2d08f88e0a25d8fe388647abdfad029ca6a0b7 (patch)
tree31ed7a9147b4ac5b4354b00edcaa1f0db4c386b4 /error.go
parentadd license (diff)
downloadsleepy-0a2d08f88e0a25d8fe388647abdfad029ca6a0b7.tar.gz
sleepy-0a2d08f88e0a25d8fe388647abdfad029ca6a0b7.tar.bz2
sleepy-0a2d08f88e0a25d8fe388647abdfad029ca6a0b7.zip
use ServeMux, capitalize API, clean tests
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