From 6ba542f49d739ef4c94bc28f552d5519d9d75151 Mon Sep 17 00:00:00 2001 From: Doug Black Date: Mon, 27 Jan 2014 11:20:22 -0500 Subject: add docs --- error.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'error.go') diff --git a/error.go b/error.go index dc129cb..0ad5a42 100644 --- a/error.go +++ b/error.go @@ -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 } -- cgit