github.com/switchupcb/yaegi@v0.10.2/_test/ioutil.go (about) 1 package main 2 3 import ( 4 "fmt" 5 "io/ioutil" 6 ) 7 8 func main() { 9 _, err := ioutil.ReadFile("__NotExisting__") 10 if err != nil { 11 fmt.Println(err.Error()) 12 } 13 } 14 15 // Output: 16 // open __NotExisting__: no such file or directory