Sign in
go
/
tools
/
3f7c32638c09af103a99661c2dba5837243fc88b
/
.
/
go
/
ssa
/
interp
/
testdata
/
src
/
errors
/
errors.go
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 }