Sign in
go
/
tools
/
76e917206452e73dc28cbeb58a15ea8f30487263
/
.
/
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 }