diff options
Diffstat (limited to 'error.go')
-rw-r--r-- | error.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,9 +1,12 @@ 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 } |