github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/method35.gno (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