Example #1
0
func isGoneError(err awserr.Error) bool {
	return err.Code() == ErrorTypeUnknownResourceFault &&
		(strings.Contains(err.Message(), TaskGone) || strings.Contains(err.Message(), ExecutionGone))
}
Example #2
0
func IsInstanceTypeChangedError(err awserr.Error) bool {
	return strings.Contains(err.Message(), INSTANCE_TYPE_CHANGED_ERROR_MESSAGE)
}