vbantxt/errors.go

10 lines
173 B
Go
Raw Permalink Normal View History

package vbantxt
// Error is used to define sentinel errors.
type Error string
// Error implements the error interface.
func (r Error) Error() string {
return string(r)
}