github.com/traefik/yaegi@v0.15.1/_test/method35.go (about)

     1  package main
     2  
     3  import "strconv"
     4  
     5  func main() {
     6  	var err error
     7  	_, err = strconv.Atoi("erwer")
     8  	if _, ok := err.(*strconv.NumError); ok {
     9  		println("here")
    10  	}
    11  }
    12  
    13  // Output:
    14  // here