gitlab.com/evatix-go/core@v1.3.55/iserror/ExitError.go (about)

     1  package iserror
     2  
     3  import "os/exec"
     4  
     5  func ExitError(err error) bool {
     6  	_, isOkay := err.(*exec.ExitError)
     7  
     8  	return isOkay
     9  }