aboutsummaryrefslogtreecommitdiff
path: root/error.go
diff options
context:
space:
mode:
authorDoug Black <dblack@twilio.com>2014-01-27 12:09:18 -0500
committerDoug Black <dblack@twilio.com>2014-01-27 12:09:18 -0500
commitc60cc1e97e7c8af2cbf5c122717035c7f48aae24 (patch)
treecf704d09bf148822dd2b62fb90690eccb2be6bc0 /error.go
parentupdate README (diff)
downloadsleepy-c60cc1e97e7c8af2cbf5c122717035c7f48aae24.tar.gz
sleepy-c60cc1e97e7c8af2cbf5c122717035c7f48aae24.tar.bz2
sleepy-c60cc1e97e7c8af2cbf5c122717035c7f48aae24.zip
formatting and use 'errors'
Diffstat (limited to 'error.go')
-rw-r--r--error.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/error.go b/error.go
deleted file mode 100644
index 0ad5a42..0000000
--- a/error.go
+++ /dev/null
@@ -1,12 +0,0 @@
-package sleepy
-
-// ErrorString is an Error that returns a string
-// representation.
-type ErrorString struct {
- s string
-}
-
-// Returns the string associated with this ErrorString.
-func (e *ErrorString) Error() string {
- return e.s
-}
bgstack15