type of return value of Of() must be error interface

see http://golang.org/doc/faq#nil_error
Merge pull request #1 from doloopwhile/type-of-Of

type of return value of Of() must be error interface