Sign in
go
/
tools
/
3288bc1ea189823249bad74d418f7247d4ac83b9
/
.
/
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 }