blob: 2377563ca2862be482458707183657a9ae48496e [file] [log] [blame]
package errors
func New(text string) error { return errorString{text} }
type errorString struct{ s string }
func (e errorString) Error() string { return e.s }