func StackDoesNotExist()

in pkg/cloudformation/helpers.go [91:99]


func StackDoesNotExist(err error) bool {
	if aErr, ok := err.(awserr.Error); ok {
		matched, _ := regexp.MatchString(`status code: 400`, aErr.Error())
		if aErr.Code() == "ValidationError" {
			return matched
		}
	}
	return false
}