Sign in
go
/
tools
/
186879941814c41282c6615868cc9cfd5fdf1344
/
.
/
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 }