diff options
author | Doug Black <dblack@twilio.com> | 2014-01-27 12:09:18 -0500 |
---|---|---|
committer | Doug Black <dblack@twilio.com> | 2014-01-27 12:09:18 -0500 |
commit | c60cc1e97e7c8af2cbf5c122717035c7f48aae24 (patch) | |
tree | cf704d09bf148822dd2b62fb90690eccb2be6bc0 /error.go | |
parent | update README (diff) | |
download | sleepy-c60cc1e97e7c8af2cbf5c122717035c7f48aae24.tar.gz sleepy-c60cc1e97e7c8af2cbf5c122717035c7f48aae24.tar.bz2 sleepy-c60cc1e97e7c8af2cbf5c122717035c7f48aae24.zip |
formatting and use 'errors'
Diffstat (limited to 'error.go')
-rw-r--r-- | error.go | 12 |
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 -} |